Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Gray <annabel.m.gray@gmail.com>2018-08-21 00:11:00 +0300
committerAnnabel Gray <annabel.m.gray@gmail.com>2018-08-21 00:11:00 +0300
commite4e172a221a917e86a83c39daea5f3276377ed63 (patch)
tree3227cdaf6283996a1693c02a36e4beb2c2abf2b9
parent3a2b1439514cb0c802c7016d0f759f96d5f490cd (diff)
parent8ae1a585ea8e0e272891cdd06a2bdddf51c71c2c (diff)
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.scss2
-rw-r--r--changelogs/unreleased/48145-illustration.yml5
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