Define width as max-width to allow svgs to scale in smaller screens
This commit is contained in:
parent
519ffec47d
commit
8ae1a585ea
2 changed files with 6 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
&.svg-#{$width} {
|
||||
img,
|
||||
svg {
|
||||
width: #{$width + 'px'};
|
||||
max-width: #{$width + 'px'};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
5
changelogs/unreleased/48145-illustration.yml
Normal file
5
changelogs/unreleased/48145-illustration.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fixes SVGs for empty states in job page overflowing on mobile
|
||||
merge_request:
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in a new issue