feat(settings/i18n): hide formatting locale on non-electron

This commit is contained in:
Elian Doran
2025-03-25 21:40:35 +02:00
parent f0b4acd15a
commit e408cc5b10
2 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ const TPL = `
<select id="locale-select" class="locale-select form-select"></select>
</div>
<div class="option-row">
<div class="option-row electron-only">
<label for="formatting-locale-select">${t("i18n.formatting-locale")}</label>
<select id="formatting-locale-select" class="formatting-locale-select form-select"></select>
</div>

View File

@@ -49,7 +49,8 @@ body {
--tab-bar-height: 40px;
}
body.mobile .desktop-only {
body.mobile .desktop-only,
body:not(.electron) .electron-only {
display: none !important;
}