[Glitch] Fix scrollbar styles on compose textarea, small bugs
Port 55b8a88419 to glitch-soc
			
			
This commit is contained in:
		
							parent
							
								
									3f8f1b01c0
								
							
						
					
					
						commit
						26fdcccce3
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		|  | @ -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} | ||||
|           /> | ||||
|  |  | |||
|  | @ -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 } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue