mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-24 00:54:02 -05:00
Fix scrollbar styles on compose textarea, small bugs (#10292)
This commit is contained in:
parent
1a0d3c9c65
commit
6a3f08661f
@ -48,7 +48,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={25}
|
maxLength={25}
|
||||||
value={title}
|
value={title}
|
||||||
onChange={this.handleOptionTitleChange}
|
onChange={this.handleOptionTitleChange}
|
||||||
/>
|
/>
|
||||||
|
@ -33,7 +33,7 @@ class Notification extends ImmutablePureComponent {
|
|||||||
onFavourite: PropTypes.func.isRequired,
|
onFavourite: PropTypes.func.isRequired,
|
||||||
onReblog: PropTypes.func.isRequired,
|
onReblog: PropTypes.func.isRequired,
|
||||||
onToggleHidden: PropTypes.func.isRequired,
|
onToggleHidden: PropTypes.func.isRequired,
|
||||||
status: PropTypes.option,
|
status: ImmutablePropTypes.map,
|
||||||
intl: PropTypes.object.isRequired,
|
intl: PropTypes.object.isRequired,
|
||||||
getScrollPosition: PropTypes.func,
|
getScrollPosition: PropTypes.func,
|
||||||
updateScrollBottom: PropTypes.func,
|
updateScrollBottom: PropTypes.func,
|
||||||
|
@ -357,6 +357,11 @@
|
|||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
padding-right: 10px + 22px;
|
padding-right: 10px + 22px;
|
||||||
resize: none;
|
resize: none;
|
||||||
|
scrollbar-color: initial;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
all: unset;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 600px) {
|
@media screen and (max-width: 600px) {
|
||||||
height: 100px !important; // prevent auto-resize textarea
|
height: 100px !important; // prevent auto-resize textarea
|
||||||
|
Loading…
Reference in New Issue
Block a user