]> cat aescling's git repositories - mastodon.git/commitdiff
Fix scrollbar styles on compose textarea, small bugs (#10292)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 16 Mar 2019 19:10:42 +0000 (20:10 +0100)
committerGitHub <noreply@github.com>
Sat, 16 Mar 2019 19:10:42 +0000 (20:10 +0100)
app/javascript/mastodon/features/compose/components/poll_form.js
app/javascript/mastodon/features/notifications/components/notification.js
app/javascript/styles/mastodon/components.scss

index ff0062425daffbf7fb5a8079fe061f078ea9d437..4fb95f3c9fb048a2d605df1779daeec675dc9354 100644 (file)
@@ -48,7 +48,7 @@ class Option extends React.PureComponent {
           <input
             type='text'
             placeholder={intl.formatMessage(messages.option_placeholder, { number: index + 1 })}
-            maxlength={25}
+            maxLength={25}
             value={title}
             onChange={this.handleOptionTitleChange}
           />
index 4bdf09166ac4a67fcd5d6d3c5e9c1033915e6de3..41e9324e6f6065e49ae7db6ba1a6274321f7199d 100644 (file)
@@ -33,7 +33,7 @@ class Notification extends ImmutablePureComponent {
     onFavourite: PropTypes.func.isRequired,
     onReblog: PropTypes.func.isRequired,
     onToggleHidden: PropTypes.func.isRequired,
-    status: PropTypes.option,
+    status: ImmutablePropTypes.map,
     intl: PropTypes.object.isRequired,
     getScrollPosition: PropTypes.func,
     updateScrollBottom: PropTypes.func,
index ceb28dd19f4b3e129c816c2b3bcc793fd1fd0b4a..8da4e2f4a1672c2c36fd7ed0de09c7e39d8a3737 100644 (file)
     padding-bottom: 0;
     padding-right: 10px + 22px;
     resize: none;
+    scrollbar-color: initial;
+
+    &::-webkit-scrollbar {
+      all: unset;
+    }
 
     @media screen and (max-width: 600px) {
       height: 100px !important; // prevent auto-resize textarea