CombinedSearch: Fix sort filter menus.

The js that controls the showing/hiding of the menus expect each dropdown
element to be the only instance amongst its siblings.  In other words, each
dropdown button and list must be wrapped in a container element for it to work
correctly.

Additionally, this moves the filter menus to the right side of the header for
better visibility.
This commit is contained in:
Matt Lee
2015-05-20 10:48:10 -07:00
parent 5d50fd2386
commit f52c753ac4
2 changed files with 5 additions and 1 deletions

View File

@@ -188,6 +188,10 @@
}
.search-header-menus {
float: right;
}
.search-menu {
.search-font-size(@search-font-base);
display: inline-block;
margin-left: @margin-large * 1px;

View File

@@ -35,7 +35,7 @@
%if thing.nav_menus:
<div class="search-header-menus">
%for menu in thing.nav_menus:
${menu}
<div class="search-menu">${menu}</div>
%endfor
</div>
%endif