commit | c3e32fa03c14245d7d02b307a70d2e54c894a1c1 | [log] [tgz] |
---|---|---|
author | Kasper Nilsson <kaspern@google.com> | Wed Jan 17 00:31:23 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jan 17 00:31:23 2018 +0000 |
tree | fdbb05050239c73044be9e89906832acd63605ff | |
parent | 5c81bbef4f83c2b1eacbea6e0e65ca2ee52a5b0e [diff] | |
parent | d9a5e6df4c997cae4a52270cd4f37b8314c04dcf [diff] |
Merge "Shrink height of gr-edit-file-controls"
diff --git a/polygerrit-ui/app/elements/edit/gr-edit-file-controls/gr-edit-file-controls.html b/polygerrit-ui/app/elements/edit/gr-edit-file-controls/gr-edit-file-controls.html index f0d7f6f..96ba196b 100644 --- a/polygerrit-ui/app/elements/edit/gr-edit-file-controls/gr-edit-file-controls.html +++ b/polygerrit-ui/app/elements/edit/gr-edit-file-controls/gr-edit-file-controls.html
@@ -37,6 +37,12 @@ #more { margin-right: 1em; } + gr-button, + gr-dropdown { + --gr-button: { + height: 1.8em; + } + } gr-dropdown { --gr-dropdown-item: { background-color: transparent;
diff --git a/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown.html b/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown.html index 6d7df94..62da3bb 100644 --- a/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown.html +++ b/polygerrit-ui/app/elements/shared/gr-dropdown/gr-dropdown.html
@@ -37,11 +37,8 @@ background-color: #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, .3); } - button { - background: none; - border: none; - font: inherit; - padding: .3em 0; + gr-button { + @apply --gr-button; } gr-avatar { height: 2em;