Navigation Menu

Skip to content

Commit

Permalink
MDL-54560 search: Search box aligned with .usermenu on .navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed May 16, 2016
1 parent d636043 commit e716da5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion theme/bootstrapbase/less/moodle/search.less
Expand Up @@ -27,7 +27,7 @@

.search-input-wrapper > div {
float: left;
margin: 9px 0 10px 0;
margin: 10px 0 9px 0;
}

.dir-rtl .search-input-wrapper {
Expand Down Expand Up @@ -60,3 +60,12 @@
.search-input-wrapper.expanded {
width: 158px;
}

// When it is displayed in the navbar we want it aligned with .usermenu .
.dir-rtl .navbar .search-input-wrapper > form {
margin: 7px 25px 3px 0;
}

.navbar .search-input-wrapper > form {
margin: 7px 0 3px 25px;
}
2 changes: 1 addition & 1 deletion theme/bootstrapbase/style/moodle.css

Large diffs are not rendered by default.

0 comments on commit e716da5

Please sign in to comment.