mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 01:28:24 -04:00
Don’t show hero image on IE8
IE8 doesn’t support background-size, so the image appears too big, the text overlaps it, and everything becomes a mess.
This commit is contained in:
@@ -12,10 +12,16 @@
|
|||||||
@extend %site-width-container;
|
@extend %site-width-container;
|
||||||
|
|
||||||
@include media(desktop) {
|
@include media(desktop) {
|
||||||
|
|
||||||
background-image: file-url('product/proposition-illustration.png');
|
background-image: file-url('product/proposition-illustration.png');
|
||||||
background-size: 320px;
|
background-size: 320px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: right -14px top -10px;
|
background-position: right -14px top -10px;
|
||||||
|
|
||||||
|
@include ie-lte(8) {
|
||||||
|
background-image: none;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user