From 75b9234e9ea54c83f0ef2f3524554dc68101459b Mon Sep 17 00:00:00 2001 From: Takuya Noguchi Date: Fri, 23 Nov 2018 11:44:39 +0900 Subject: [PATCH] Move .container .content CSS for mobile to the specific CSS Signed-off-by: Takuya Noguchi --- app/assets/stylesheets/framework/layout.scss | 2 ++ app/assets/stylesheets/framework/mobile.scss | 4 ---- 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; }