Increase width of language dropdown
This commit is contained in:
parent
3c199d8c78
commit
2c8aaa27dd
3 changed files with 3 additions and 2 deletions
|
@ -23,6 +23,7 @@ limitations under the License.
|
||||||
font-size: $font-14px;
|
font-size: $font-14px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: $authpage-lang-color;
|
color: $authpage-lang-color;
|
||||||
|
width: 160px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_AuthBody_language .mx_Dropdown_arrow {
|
.mx_AuthBody_language .mx_Dropdown_arrow {
|
||||||
|
|
|
@ -27,6 +27,6 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Welcome .mx_AuthBody_language {
|
.mx_Welcome .mx_AuthBody_language {
|
||||||
width: 120px;
|
width: 160px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ import SettingsStore from "../../../settings/SettingsStore";
|
||||||
import { _t } from "../../../languageHandler";
|
import { _t } from "../../../languageHandler";
|
||||||
|
|
||||||
function languageMatchesSearchQuery(query, language) {
|
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;
|
if (language.value.toUpperCase() === query.toUpperCase()) return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue