summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-03-12 16:11:57 +0000
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-03-12 16:11:57 +0000
commit9191f96ab762a5704165120a66131df24f61a272 (patch)
treeaa6044d7267a5efc7cc6bbf258ab6640a65d34de
parentf9dc1e86881f21b0960d0035c1e051c2e54fdd80 (diff)
downloadgitlab-ce-9191f96ab762a5704165120a66131df24f61a272.tar.gz
Fix illustration padding and center for mobiel
-rw-r--r--app/assets/stylesheets/pages/milestone.scss8
-rw-r--r--app/views/shared/milestones/_deprecation_message.html.haml4
2 files changed, 10 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/milestone.scss b/app/assets/stylesheets/pages/milestone.scss
index 9b5087caacf..b7fe269c7c8 100644
--- a/app/assets/stylesheets/pages/milestone.scss
+++ b/app/assets/stylesheets/pages/milestone.scss
@@ -217,4 +217,12 @@
.text-container {
position: relative;
}
+
+ @media (max-width: $screen-xs-max) {
+ .illustration {
+ display: block;
+ text-align: center;
+ margin: $gl-padding 0;
+ }
+ }
}
diff --git a/app/views/shared/milestones/_deprecation_message.html.haml b/app/views/shared/milestones/_deprecation_message.html.haml
index 9f049e7bde1..c9a5b273173 100644
--- a/app/views/shared/milestones/_deprecation_message.html.haml
+++ b/app/views/shared/milestones/_deprecation_message.html.haml
@@ -1,5 +1,5 @@
-.milestone-deprecation-message.prepend-top-default
- = image_tag 'illustrations/milestone_removing-page.svg', class: 'append-right-default'
+.milestone-deprecation-message.prepend-top-default.prepend-left-default
+ .illustration.inline= image_tag 'illustrations/milestone_removing-page.svg', class: 'append-right-default'
.inline.vertical-align-middle.text-container
%strong This page will be removed in a future release.
%p.append-bottom-default.prepend-top-5