From eb6c4ddf4ff63b47bd3b3273c6aa80bd13d2a520 Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Wed, 26 Jan 2022 15:31:44 +0100 Subject: [PATCH] MDL-73594 theme_boost: only show lang icon on mobile --- theme/boost/scss/moodle/navbar.scss | 5 +++++ theme/boost/style/moodle.css | 3 +++ theme/classic/style/moodle.css | 3 +++ 3 files changed, 11 insertions(+) diff --git a/theme/boost/scss/moodle/navbar.scss b/theme/boost/scss/moodle/navbar.scss index 257861bc5b473..4eaae957fa8ed 100644 --- a/theme/boost/scss/moodle/navbar.scss +++ b/theme/boost/scss/moodle/navbar.scss @@ -123,6 +123,11 @@ } } } + @include media-breakpoint-down(sm) { + .langbutton { + display: none; + } + } } .moodle-actionmenu .menubar, .action-menu-trigger .dropdown { diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index b33cb59e5350d..bf9feca9986f4 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -20946,6 +20946,9 @@ div.editor_atto_toolbar button .icon { content: "\f00c"; font-size: 0.75rem; padding-left: .25rem; } + @media (max-width: 767.98px) { + .navbar.fixed-top .langmenu .langbutton { + display: none; } } .navbar.fixed-top .moodle-actionmenu .menubar, .navbar.fixed-top .action-menu-trigger .dropdown { height: 100%; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 5f782bb5af83b..ce3c96f0f10c6 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -20892,6 +20892,9 @@ div.editor_atto_toolbar button .icon { content: "\f00c"; font-size: 0.75rem; padding-left: .25rem; } + @media (max-width: 767.98px) { + .navbar.fixed-top .langmenu .langbutton { + display: none; } } .navbar.fixed-top .moodle-actionmenu .menubar, .navbar.fixed-top .action-menu-trigger .dropdown { height: 100%;