Skip to content

Commit

Permalink
MDL-55802 output: Hide site name and user name on xs screens
Browse files Browse the repository at this point in the history
Part of MDL-55071
  • Loading branch information
Damyon Wiese authored and danpoltawski committed Sep 23, 2016
1 parent 5f18da1 commit 3313fdd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions theme/noname/scss/moodle/core.scss
Expand Up @@ -1652,6 +1652,12 @@ img#persona_signin {
height: 43px;
}

@include media-breakpoint-down(xs) {
.navbar-brand .site-name {
display: none;
}
}

/** Page header */
#page-header {
.logo {
Expand Down
7 changes: 7 additions & 0 deletions theme/noname/scss/moodle/modules.scss
Expand Up @@ -333,7 +333,9 @@ div#dock {
.role {
font-weight: bold;
}

}

}

// Hide caret when JS is disabled.
Expand All @@ -345,6 +347,11 @@ div#dock {

}
}
@include media-breakpoint-down(sm) {
.usertext {
display: none;
}
}
.jsenabled {
.usermenu {
.moodle-actionmenu {
Expand Down

0 comments on commit 3313fdd

Please sign in to comment.