diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2019-05-29 19:02:19 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2019-05-30 06:12:09 -0500 |
commit | 4a4cb4409b3c4aa47ae12e9f72de1b7382019f63 (patch) | |
tree | 487b9ad7fb64db4e90b12fa4592676f8055a02a8 | |
parent | 5be15d439d61ab9a34bb814eb3217f977933c81f (diff) | |
download | gitlab-ce-61323-snippet-copy-icon-button-is-misaligned.tar.gz |
Only set line-height on snippets file header61323-snippet-copy-icon-button-is-misaligned
-rw-r--r-- | app/assets/stylesheets/framework/files.scss | 1 | ||||
-rw-r--r-- | app/assets/stylesheets/framework/snippets.scss | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss index 6a74ca2de18..8493dfff1c5 100644 --- a/app/assets/stylesheets/framework/files.scss +++ b/app/assets/stylesheets/framework/files.scss @@ -360,7 +360,6 @@ span.idiff { .btn-clipboard { position: absolute; right: 0; - line-height: 28px; } a { diff --git a/app/assets/stylesheets/framework/snippets.scss b/app/assets/stylesheets/framework/snippets.scss index 36ab38f1c9d..3ab83f4c8e6 100644 --- a/app/assets/stylesheets/framework/snippets.scss +++ b/app/assets/stylesheets/framework/snippets.scss @@ -22,6 +22,10 @@ .snippet-file-content { border-radius: 3px; + + .file-title-flex-parent .btn-clipboard { + line-height: 28px; + } } .snippet-header { |