Define width as max-width to allow svgs to scale in smaller screens

This commit is contained in:
Filipa Lacerda 2018-08-20 17:12:24 +01:00
parent 519ffec47d
commit 8ae1a585ea
No known key found for this signature in database
GPG key ID: 9CA3FDE4D1E2F1C8
2 changed files with 6 additions and 1 deletions

View file

@ -25,7 +25,7 @@
&.svg-#{$width} {
img,
svg {
width: #{$width + 'px'};
max-width: #{$width + 'px'};
}
}
}

View file

@ -0,0 +1,5 @@
---
title: Fixes SVGs for empty states in job page overflowing on mobile
merge_request:
author:
type: fixed