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 | |
parent | 81002745184df28fc9d969afc524986279c653bb (diff) | |
download | gitlab-ce-dfa6f187da24ae23f6e5abc086b8cba52fd98cfc.tar.gz |
Make blob viewer for rich contents wider for mobile
-rw-r--r-- | app/assets/stylesheets/pages/repo.scss | 6 | ||||
-rw-r--r-- | changelogs/unreleased/37368-blob-viewer-on-mobile.yml | 5 |
2 files changed, 9 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 { diff --git a/changelogs/unreleased/37368-blob-viewer-on-mobile.yml b/changelogs/unreleased/37368-blob-viewer-on-mobile.yml new file mode 100644 index 00000000000..6a955f5715f --- /dev/null +++ b/changelogs/unreleased/37368-blob-viewer-on-mobile.yml @@ -0,0 +1,5 @@ +--- +title: Make blob viewer for rich contents wider for mobile +merge_request: 14011 +author: Takuya Noguchi +type: fixed |