mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
feat(settings/i18n): hide formatting locale on non-electron
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user