summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2019-05-29 19:02:19 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2019-05-30 06:12:09 -0500
commit4a4cb4409b3c4aa47ae12e9f72de1b7382019f63 (patch)
tree487b9ad7fb64db4e90b12fa4592676f8055a02a8
parent5be15d439d61ab9a34bb814eb3217f977933c81f (diff)
downloadgitlab-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.scss1
-rw-r--r--app/assets/stylesheets/framework/snippets.scss4
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 {