diff options
author | Takuya Noguchi <takninnovationresearch@gmail.com> | 2018-11-23 11:44:39 +0900 |
---|---|---|
committer | Takuya Noguchi <takninnovationresearch@gmail.com> | 2018-12-12 15:41:25 -0800 |
commit | 75b9234e9ea54c83f0ef2f3524554dc68101459b (patch) | |
tree | f92763f510919a44184da7273c989fa44b31dee1 | |
parent | 44ce070d1cf4b3a768b49b4a8af57fc2e86bdf98 (diff) | |
download | gitlab-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.scss | 2 | ||||
-rw-r--r-- | 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; } |