Skip to content

Commit

Permalink
css: Only apply min-size to menu when they are part of the toolbar
Browse files Browse the repository at this point in the history
We not only use menus for the toolbar menu, but also for the user
dropdown when logged in. We need to specialize a bit more the selector.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
  • Loading branch information
Damien Lespiau committed Jan 26, 2016
1 parent a4c50f1 commit 0af43b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ div.patchforms {
margin-top: 2em;
}

ul.dropdown-menu {
ul.dropdown-menu.table-toolbar {
white-space: nowrap;
min-width: 300px;
padding: 8px 20px;
Expand Down
4 changes: 2 additions & 2 deletions patchwork/templates/patchwork/series-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1>Series</h1>
Date
<span class="caret"></span>
</a>
<ul role="menu" class="dropdown-menu">
<ul role="menu" class="dropdown-menu table-toolbar">
<li>
<form id="date-form">
<div class="form-group">
Expand Down Expand Up @@ -75,7 +75,7 @@ <h1>Series</h1>
Submitter
<span class="caret"></span>
</a>
<ul role="menu" class="dropdown-menu">
<ul role="menu" class="dropdown-menu table-toolbar">
<li><span>Show series:</span></li>
<li>
<form id="submitter-form">
Expand Down

0 comments on commit 0af43b4

Please sign in to comment.