From bb8490b018bda7327a82e8ed38d3f1d60c9b4c39 Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Gray Date: Fri, 19 Jan 2018 14:40:18 -0700 Subject: Start redesign of group labels page --- app/assets/stylesheets/pages/labels.scss | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'app/assets/stylesheets') diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss index e8cd8a4905c..91aa6648d41 100644 --- a/app/assets/stylesheets/pages/labels.scss +++ b/app/assets/stylesheets/pages/labels.scss @@ -64,7 +64,6 @@ .label { overflow: hidden; text-overflow: ellipsis; - vertical-align: middle; max-width: 100%; } } @@ -86,14 +85,17 @@ .label-description { display: block; margin-bottom: 10px; - margin-left: 50px; + + a { + color: $blue-600; + } @media (min-width: $screen-sm-min) { display: inline-block; - width: 30%; + max-width: 50%; margin-left: 10px; margin-bottom: 0; - vertical-align: middle; + vertical-align: top; } } @@ -116,6 +118,10 @@ } .manage-labels-list { + &.content-list li { + padding: $gl-padding 0; + } + > li:not(.empty-message):not(.is-not-draggable) { background-color: $white-light; cursor: move; @@ -133,8 +139,6 @@ } .btn-action { - color: $gl-text-color; - .fa { font-size: 18px; vertical-align: middle; @@ -155,6 +159,12 @@ float: right; } } + + @media (max-width: $screen-sm-max) { + .dropdown-menu { + min-width: 100%; + } + } } .draggable-handler { -- cgit v1.2.3