summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorConstance Okoghenun <cokoghenun@gitlab.com>2018-06-29 13:42:35 +0100
committerConstance Okoghenun <cokoghenun@gitlab.com>2018-06-29 13:42:35 +0100
commitfbcb55c6a8e2944411a3244bd7b09b3b9d1fe1df (patch)
treea1f7df626b431ccefb9e19d848e1ac83167e54b0 /app
parent743d0d5eda5137a1861f1b6cc86a42fac6e49af0 (diff)
downloadgitlab-ce-fbcb55c6a8e2944411a3244bd7b09b3b9d1fe1df.tar.gz
Adujsted the height of milestone status on milestones list on mobile
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/pages/milestone.scss5
-rw-r--r--app/views/shared/_milestone_expired.html.haml6
2 files changed, 8 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/milestone.scss b/app/assets/stylesheets/pages/milestone.scss
index a760e0660f5..46437ce5841 100644
--- a/app/assets/stylesheets/pages/milestone.scss
+++ b/app/assets/stylesheets/pages/milestone.scss
@@ -38,6 +38,11 @@
font-size: $tooltip-font-size;
margin-top: 0;
margin-right: $gl-padding-4;
+
+ @include media-breakpoint-down(xs) {
+ line-height: unset;
+ padding: $gl-padding-4 $gl-input-padding;
+ }
}
}
}
diff --git a/app/views/shared/_milestone_expired.html.haml b/app/views/shared/_milestone_expired.html.haml
index f49017c59b2..099e3ac8462 100644
--- a/app/views/shared/_milestone_expired.html.haml
+++ b/app/views/shared/_milestone_expired.html.haml
@@ -1,6 +1,6 @@
- if milestone.expired? and not milestone.closed?
- .status-box.status-box-expired Expired
+ .status-box.status-box-expired.append-bottom-5 Expired
- if milestone.upcoming?
- .status-box.status-box-mr-merged Upcoming
+ .status-box.status-box-mr-merged.append-bottom-5 Upcoming
- if milestone.closed?
- .status-box.status-box-closed Closed
+ .status-box.status-box-closed.append-bottom-5 Closed