Reduce language selector width

This commit is contained in:
Cohee 2024-03-19 02:38:42 +02:00
parent 786241a87f
commit 3d86d6f7d8
2 changed files with 7 additions and 3 deletions

View File

@ -3245,7 +3245,7 @@
<div class="flex-container flexFlowColumn"> <div class="flex-container flexFlowColumn">
<div name="userSettingsRowOne" class="flex-container flexFlowRow alignitemscenter spaceBetween"> <div name="userSettingsRowOne" class="flex-container flexFlowRow alignitemscenter spaceBetween">
<div class="flex-container"> <div class="flex-container">
<div class="flex-container flexnowrap alignitemscenter"> <div class="flex-container flexnowrap alignItemsBaseline">
<h3 class="margin0"><span data-i18n="User Settings">User Settings</span></h3> <h3 class="margin0"><span data-i18n="User Settings">User Settings</span></h3>
<select id="ui_mode_select" class="margin0 widthNatural"> <select id="ui_mode_select" class="margin0 widthNatural">
<option value="0" data-i18n="Simple">Simple</option> <option value="0" data-i18n="Simple">Simple</option>
@ -3253,9 +3253,9 @@
</select> </select>
</div> </div>
</div> </div>
<div id="UI-language-block" class="flex-container alignitemscenter"> <div id="UI-language-block" class="flex-container alignItemsBaseline">
<span data-i18n="UI Language">Language:</span> <span data-i18n="UI Language">Language:</span>
<select id="ui_language_select" class="widthNatural flex1 margin0"> <select id="ui_language_select" class="flex1 margin0">
<option value="" data-i18n="Default">Default</option> <option value="" data-i18n="Default">Default</option>
<option value="en">English</option> <option value="en">English</option>
</select> </select>

View File

@ -3340,6 +3340,10 @@ a {
transition: all 250ms; transition: all 250ms;
} }
#ui_language_select {
width: 10em;
}
#extensions_settings .inline-drawer-toggle.inline-drawer-header:hover, #extensions_settings .inline-drawer-toggle.inline-drawer-header:hover,
#extensions_settings2 .inline-drawer-toggle.inline-drawer-header:hover { #extensions_settings2 .inline-drawer-toggle.inline-drawer-header:hover {
filter: brightness(150%); filter: brightness(150%);