summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorTakuya Noguchi <tak.noguchi.iridge@gmail.com>2017-09-02 23:14:55 +0900
committerTakuya Noguchi <tak.noguchi.iridge@gmail.com>2017-09-02 23:28:01 +0900
commitdfa6f187da24ae23f6e5abc086b8cba52fd98cfc (patch)
tree907ab72dbad549bc666771f683274c8c30d44253 /app/assets/stylesheets
parent81002745184df28fc9d969afc524986279c653bb (diff)
downloadgitlab-ce-dfa6f187da24ae23f6e5abc086b8cba52fd98cfc.tar.gz
Make blob viewer for rich contents wider for mobile
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/pages/repo.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/repo.scss b/app/assets/stylesheets/pages/repo.scss
index efc47861768..69abb13add4 100644
--- a/app/assets/stylesheets/pages/repo.scss
+++ b/app/assets/stylesheets/pages/repo.scss
@@ -43,8 +43,10 @@
display: inline-block;
}
-.blob-viewer[data-type="rich"] {
- margin: 20px;
+@media (min-width: $screen-md-min) {
+ .blob-viewer[data-type="rich"] {
+ margin: 20px;
+ }
}
.repository-view {