mirror of https://github.com/Siphonay/mastodon
[Glitch] Fix scrollbar styles on compose textarea, small bugs
Port 6a3f08661f
to glitch-soc
This commit is contained in:
parent
4aa6aba6ee
commit
e900b03e38
|
@ -51,7 +51,7 @@ class Option extends React.PureComponent {
|
||||||
<input
|
<input
|
||||||
type='text'
|
type='text'
|
||||||
placeholder={intl.formatMessage(messages.option_placeholder, { number: index + 1 })}
|
placeholder={intl.formatMessage(messages.option_placeholder, { number: index + 1 })}
|
||||||
maxlength={pollLimits.max_option_chars}
|
maxLength={pollLimits.max_option_chars}
|
||||||
value={title}
|
value={title}
|
||||||
onChange={this.handleOptionTitleChange}
|
onChange={this.handleOptionTitleChange}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -147,6 +147,11 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
resize: none;
|
resize: none;
|
||||||
|
scrollbar-color: initial;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
all: unset;
|
||||||
|
}
|
||||||
|
|
||||||
&:disabled { background: $ui-secondary-color }
|
&:disabled { background: $ui-secondary-color }
|
||||||
&:focus { outline: 0 }
|
&:focus { outline: 0 }
|
||||||
|
|
Loading…
Reference in New Issue