Increase width of language dropdown
							parent
							
								
									3c199d8c78
								
							
						
					
					
						commit
						2c8aaa27dd
					
				|  | @ -23,6 +23,7 @@ limitations under the License. | |||
|     font-size: $font-14px; | ||||
|     font-weight: 600; | ||||
|     color: $authpage-lang-color; | ||||
|     width: 160px; | ||||
| } | ||||
| 
 | ||||
| .mx_AuthBody_language .mx_Dropdown_arrow { | ||||
|  |  | |||
|  | @ -27,6 +27,6 @@ limitations under the License. | |||
| } | ||||
| 
 | ||||
| .mx_Welcome .mx_AuthBody_language { | ||||
|     width: 120px; | ||||
|     width: 160px; | ||||
|     margin-bottom: 10px; | ||||
| } | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ import SettingsStore from "../../../settings/SettingsStore"; | |||
| import { _t } from "../../../languageHandler"; | ||||
| 
 | ||||
| function languageMatchesSearchQuery(query, language) { | ||||
|     if (language.label.toUpperCase().startsWith(query.toUpperCase())) return true; | ||||
|     if (language.label.toUpperCase().includes(query.toUpperCase())) return true; | ||||
|     if (language.value.toUpperCase() === query.toUpperCase()) return true; | ||||
|     return false; | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Ayush Kumar
						Ayush Kumar