diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-16 20:10:42 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-03-16 21:07:50 +0100 |
commit | e900b03e380121923906f3de21d5e3551d902e06 (patch) | |
tree | 30b0688536bc4f3e8392de8162ed833f8db0a564 /app/javascript/flavours | |
parent | 4aa6aba6ee95ba37df7ca1d9c65f360b1b00ec04 (diff) |
[Glitch] Fix scrollbar styles on compose textarea, small bugs
Port 6a3f08661f8d23e5f93717f36df1463842bfd936 to glitch-soc
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r-- | app/javascript/flavours/glitch/features/composer/poll_form/components/poll_form.js | 2 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/composer.scss | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/composer/poll_form/components/poll_form.js b/app/javascript/flavours/glitch/features/composer/poll_form/components/poll_form.js index 7ee28e304..1915b62d5 100644 --- a/app/javascript/flavours/glitch/features/composer/poll_form/components/poll_form.js +++ b/app/javascript/flavours/glitch/features/composer/poll_form/components/poll_form.js @@ -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} /> diff --git a/app/javascript/flavours/glitch/styles/components/composer.scss b/app/javascript/flavours/glitch/styles/components/composer.scss index e14775e44..f0729bedc 100644 --- a/app/javascript/flavours/glitch/styles/components/composer.scss +++ b/app/javascript/flavours/glitch/styles/components/composer.scss @@ -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 } |