diff --git a/src/public/app/widgets/type_widgets/options/appearance/theme.ts b/src/public/app/widgets/type_widgets/options/appearance/theme.ts index 3031ac2d4..52b23355a 100644 --- a/src/public/app/widgets/type_widgets/options/appearance/theme.ts +++ b/src/public/app/widgets/type_widgets/options/appearance/theme.ts @@ -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();