commit | 670b3d6ed7aa7f82c12e41451b33210ba9239cd4 | [log] [tgz] |
---|---|---|
author | Becky Siegel <beckysiegel@google.com> | Wed Dec 20 16:28:51 2017 -0800 |
committer | Becky Siegel <beckysiegel@google.com> | Wed Dec 20 16:28:51 2017 -0800 |
tree | 8df6ada51fb2d27d1d61cfadace9fcc5f7edae5e | |
parent | c4d42c43c82a26b0e2d3e6de46afc80a7a4b184a [diff] |
Update padding of file action buttons This way the file list header height stays the same whether the action buttons are displayed or hidden, and reduces unnecessary content shifting. Change-Id: Ie530c6ff797df3b24cd54e32b62fdf5e934f5c87
diff --git a/polygerrit-ui/app/elements/change/gr-file-list-header/gr-file-list-header.html b/polygerrit-ui/app/elements/change/gr-file-list-header/gr-file-list-header.html index 4b158d3..7524abcb 100644 --- a/polygerrit-ui/app/elements/change/gr-file-list-header/gr-file-list-header.html +++ b/polygerrit-ui/app/elements/change/gr-file-list-header/gr-file-list-header.html
@@ -110,6 +110,11 @@ align-items: center; display: flex; } + .fileViewActions gr-button { + --gr-button: { + padding: 2px 4px; + } + } .fileViewActions > *:not(:last-child) { margin-right: 5px; }