[Glitch] Fix scrollbar styles on compose textarea, small bugs

Port 6a3f08661f to glitch-soc
signup-info-prompt
Eugen Rochko 2019-03-16 20:10:42 +01:00 committed by Thibaut Girka
parent 4aa6aba6ee
commit e900b03e38
2 changed files with 6 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Option extends React.PureComponent {
<input
type='text'
placeholder={intl.formatMessage(messages.option_placeholder, { number: index + 1 })}
maxlength={pollLimits.max_option_chars}
maxLength={pollLimits.max_option_chars}
value={title}
onChange={this.handleOptionTitleChange}
/>

View File

@ -147,6 +147,11 @@
font-size: 14px;
font-family: inherit;
resize: none;
scrollbar-color: initial;
&::-webkit-scrollbar {
all: unset;
}
&:disabled { background: $ui-secondary-color }
&:focus { outline: 0 }