Skip to content

Commit

Permalink
MDL-73594 theme_boost: only show lang icon on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas Brands committed Jan 26, 2022
1 parent e63604f commit eb6c4dd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions theme/boost/scss/moodle/navbar.scss
Expand Up @@ -123,6 +123,11 @@
}
}
}
@include media-breakpoint-down(sm) {
.langbutton {
display: none;
}
}
}
.moodle-actionmenu .menubar,
.action-menu-trigger .dropdown {
Expand Down
3 changes: 3 additions & 0 deletions theme/boost/style/moodle.css
Expand Up @@ -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%;
Expand Down
3 changes: 3 additions & 0 deletions theme/classic/style/moodle.css
Expand Up @@ -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%;
Expand Down

0 comments on commit eb6c4dd

Please sign in to comment.