mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-05-06 20:29:12 -05:00
feat(options/apperance): hide layout orientation section
This commit is contained in:
@@ -67,6 +67,9 @@ export default class ThemeOptions extends OptionsWidget {
|
||||
utils.reloadFrontendApp("layout orientation change");
|
||||
});
|
||||
|
||||
const $layoutOrientationSection = $(this.$widget[0]);
|
||||
$layoutOrientationSection.toggleClass("hidden-ext", utils.isMobile());
|
||||
|
||||
this.$themeSelect.on("change", async () => {
|
||||
const newTheme = this.$themeSelect.val();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user