mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(options/apperance): hide layout orientation section
This commit is contained in:
parent
a615b473a7
commit
06a439e95d
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user