summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2018-11-23 11:44:39 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-12-12 15:41:25 -0800
commit75b9234e9ea54c83f0ef2f3524554dc68101459b (patch)
treef92763f510919a44184da7273c989fa44b31dee1
parent44ce070d1cf4b3a768b49b4a8af57fc2e86bdf98 (diff)
downloadgitlab-ce-75b9234e9ea54c83f0ef2f3524554dc68101459b.tar.gz
Move .container .content CSS for mobile to the specific CSS
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
-rw-r--r--app/assets/stylesheets/framework/layout.scss2
-rw-r--r--app/assets/stylesheets/framework/mobile.scss4
2 files changed, 2 insertions, 4 deletions
diff --git a/app/assets/stylesheets/framework/layout.scss b/app/assets/stylesheets/framework/layout.scss
index 9218df9b40f..4902e60253a 100644
--- a/app/assets/stylesheets/framework/layout.scss
+++ b/app/assets/stylesheets/framework/layout.scss
@@ -40,6 +40,8 @@ body {
.content {
margin: 0;
+
+ @include media-breakpoint-down(xs) { margin-top: 20px; }
}
}
diff --git a/app/assets/stylesheets/framework/mobile.scss b/app/assets/stylesheets/framework/mobile.scss
index a3998c267db..63f59eb2873 100644
--- a/app/assets/stylesheets/framework/mobile.scss
+++ b/app/assets/stylesheets/framework/mobile.scss
@@ -1,9 +1,5 @@
/** Common mobile (screen XS, SM) styles **/
@include media-breakpoint-down(xs) {
- .container .content {
- margin-top: 20px;
- }
-
.container .title {
padding-left: 15px !important;
}