]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix scrollbar styles on compose textarea, small bugs
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 16 Mar 2019 19:10:42 +0000 (20:10 +0100)
committerThibaut Girka <thib@sitedethib.com>
Sat, 16 Mar 2019 20:07:50 +0000 (21:07 +0100)
Port 6a3f08661f8d23e5f93717f36df1463842bfd936 to glitch-soc

app/javascript/flavours/glitch/features/composer/poll_form/components/poll_form.js
app/javascript/flavours/glitch/styles/components/composer.scss

index 7ee28e304c6498af714735d752fc950cd27960c5..1915b62d5c9efcb7694a8f8e73544d1bf2e32cb1 100644 (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}
           />
index e14775e448e413796d30ec95b6959827c0b0cc3c..f0729bedcedf6e02665c5fbb34fa337d65779176 100644 (file)
       font-size: 14px;
       font-family: inherit;
       resize: none;
+      scrollbar-color: initial;
+
+      &::-webkit-scrollbar {
+        all: unset;
+      }
 
       &:disabled { background: $ui-secondary-color }
       &:focus { outline: 0 }