Skip to content

Commit

Permalink
[MD settings] remove label float from dropdowns so that they center c…
Browse files Browse the repository at this point in the history
…orrectly

This CL adds the no-label-float property to dropdowns without a label so
that they center correctly vertically.

BUG=632543
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2191203002
Cr-Commit-Position: refs/heads/master@{#408696}
  • Loading branch information
dschuyler authored and Commit bot committed Jul 29, 2016
1 parent bc87119 commit 8f17545
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<neon-animatable id="main">
<div class="settings-box first">
<p class="start">$i18n{searchExplanation}</p>
<paper-dropdown-menu vertical-align="auto">
<paper-dropdown-menu vertical-align="auto" no-label-float>
<paper-listbox class="dropdown-content"
selected="[[getSelectedSearchEngineIndex_(searchEngines_)]]"
on-iron-select="onIronSelect_">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}
</style>
<div class="settings-box" id="picker" hidden>
<paper-dropdown-menu vertical-align="auto">
<paper-dropdown-menu vertical-align="auto" no-label-float>
<paper-listbox id="mediaPicker" class="dropdown-content"
attr-for-selected="media-picker-value"
on-iron-activate="onMediaPickerActivate_">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="body">
<div class="layout horizontal" id="container">
<div class="flex">
<paper-dropdown-menu vertical-align="auto">
<paper-dropdown-menu vertical-align="auto" no-label-float>
<paper-listbox id="picker" class="dropdown-content"
attr-for-selected="picker-value"
on-iron-activate="onItemSelected_">
Expand Down

0 comments on commit 8f17545

Please sign in to comment.