summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-17 12:59:20 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-17 17:54:16 +0300
commit88fa0ecdd9a2982795bb9ddd56873e6ac5c23815 (patch)
tree95c231e0959ace12d24ba2ab4e56d8975478a55b
parentec7163ae1db54f4adce7942673abc8a4a073fbd6 (diff)
downloadgitlab-ce-dz-fix-list-bottom-margin.tar.gz
Fix group lists visualdz-fix-list-bottom-margin
* Reset p bottom margin for group lists to fix vertical alignment * Remove double border for group lists to be consistent with project lists Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/assets/stylesheets/framework/lists.scss11
-rw-r--r--app/assets/stylesheets/pages/groups.scss4
2 files changed, 5 insertions, 10 deletions
diff --git a/app/assets/stylesheets/framework/lists.scss b/app/assets/stylesheets/framework/lists.scss
index f1a8a46dda4..4110d7f15a8 100644
--- a/app/assets/stylesheets/framework/lists.scss
+++ b/app/assets/stylesheets/framework/lists.scss
@@ -279,7 +279,6 @@ ul.indent-list {
padding: 10px 0 0 30px;
}
-
// Specific styles for tree list
@keyframes spin-avatar {
from { transform: rotate(0deg); }
@@ -424,18 +423,10 @@ ul.indent-list {
&:first-child {
border-top: 1px solid $white-normal;
}
-
- &:last-of-type {
- .group-row-contents:not(:hover) {
- border-bottom: 1px solid transparent;
- }
- }
}
.group-row-contents {
- padding: 10px 10px 8px;
- border-top: solid 1px transparent;
- border-bottom: solid 1px $white-normal;
+ padding: $gl-padding-top;
&:hover {
border-color: $row-hover-border;
diff --git a/app/assets/stylesheets/pages/groups.scss b/app/assets/stylesheets/pages/groups.scss
index 6ee8b33bd39..c378ad50836 100644
--- a/app/assets/stylesheets/pages/groups.scss
+++ b/app/assets/stylesheets/pages/groups.scss
@@ -18,6 +18,10 @@
.group-row {
@include basic-list-stats;
+
+ .description p {
+ margin-bottom: 0;
+ }
}
.ldap-group-links {