summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/files.scss
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-02-08 17:06:04 -0600
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-02-08 20:52:08 -0600
commit2352a392e5fc5a0a8e7461a9920f5b3c89d819c8 (patch)
tree621d32264701ebe4c52c7a86c59a97afd9c70c22 /app/assets/stylesheets/framework/files.scss
parentb57027f2a5e3b5b5c786ed72ad8d2c8d16725b17 (diff)
downloadgitlab-ce-2352a392e5fc5a0a8e7461a9920f5b3c89d819c8.tar.gz
Align file header items while keeping collapse functionality
Diffstat (limited to 'app/assets/stylesheets/framework/files.scss')
-rw-r--r--app/assets/stylesheets/framework/files.scss14
1 files changed, 12 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/files.scss b/app/assets/stylesheets/framework/files.scss
index db1c8da06d0..c2dfa55b511 100644
--- a/app/assets/stylesheets/framework/files.scss
+++ b/app/assets/stylesheets/framework/files.scss
@@ -236,17 +236,27 @@ span.idiff {
.file-title-flex-parent {
display: flex;
align-items: center;
+ justify-content:space-between;
background-color: $gray-light;
border-bottom: 1px solid $border-color;
padding: 10px $gl-padding;
margin: 0;
border-radius: 3px 3px 0 0;
- > a {
- flex: 1;
+ .file-header-content {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ padding-right: 30px;
+ position: relative;
+ }
+
+ .btn-clipboard {
+ position: absolute;
+ right: 0;
+ }
+
+ a {
color: $gl-text-color;
}