diff options
author | Annabel Gray <annabel.m.gray@gmail.com> | 2018-08-20 21:11:00 +0000 |
---|---|---|
committer | Annabel Gray <annabel.m.gray@gmail.com> | 2018-08-20 21:11:00 +0000 |
commit | e4e172a221a917e86a83c39daea5f3276377ed63 (patch) | |
tree | 3227cdaf6283996a1693c02a36e4beb2c2abf2b9 | |
parent | 3a2b1439514cb0c802c7016d0f759f96d5f490cd (diff) | |
parent | 8ae1a585ea8e0e272891cdd06a2bdddf51c71c2c (diff) | |
download | gitlab-ce-e4e172a221a917e86a83c39daea5f3276377ed63.tar.gz |
Merge branch '48145-illustration' into 'master'
Resolve "Job page illustration overflows on mobile"
Closes #48145
See merge request gitlab-org/gitlab-ce!21313
-rw-r--r-- | app/assets/stylesheets/framework/images.scss | 2 | ||||
-rw-r--r-- | changelogs/unreleased/48145-illustration.yml | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/images.scss b/app/assets/stylesheets/framework/images.scss index f878ec1ca91..1e93bf2b751 100644 --- a/app/assets/stylesheets/framework/images.scss +++ b/app/assets/stylesheets/framework/images.scss @@ -25,7 +25,7 @@ &.svg-#{$width} { img, svg { - width: #{$width + 'px'}; + max-width: #{$width + 'px'}; } } } diff --git a/changelogs/unreleased/48145-illustration.yml b/changelogs/unreleased/48145-illustration.yml new file mode 100644 index 00000000000..7d84075c2b3 --- /dev/null +++ b/changelogs/unreleased/48145-illustration.yml @@ -0,0 +1,5 @@ +--- +title: Fixes SVGs for empty states in job page overflowing on mobile +merge_request: +author: +type: fixed |