diff options
author | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2017-09-02 23:14:55 +0900 |
---|---|---|
committer | Takuya Noguchi <tak.noguchi.iridge@gmail.com> | 2017-09-02 23:28:01 +0900 |
commit | dfa6f187da24ae23f6e5abc086b8cba52fd98cfc (patch) | |
tree | 907ab72dbad549bc666771f683274c8c30d44253 /app/assets/stylesheets | |
parent | 81002745184df28fc9d969afc524986279c653bb (diff) | |
download | gitlab-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.scss | 6 |
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 { |