metz-metropole-2019: add more background-position IE workarounds (#34747)
This commit is contained in:
parent
ab7a29373f
commit
90d0a6ab4b
|
@ -1,6 +1,7 @@
|
|||
$(function() {
|
||||
if (navigator.userAgent.indexOf("MSIE ") > 0 || navigator.userAgent.indexOf("Trident") > 0) {
|
||||
$('.gru-content a.big-image-link').css('background-position', 'bottom 40px left 50%');
|
||||
$('.page-signalements .gru-content a.big-image-link').css('background-position', 'bottom 40px left 50%');
|
||||
$('.page-index .gru-content a.big-image-link').css('background-position', 'top -20px left 50%');
|
||||
}
|
||||
var mql = window.matchMedia("screen and (max-width: 800px)");
|
||||
if (mql.matches) { /* on mobile */
|
||||
|
|
Loading…
Reference in New Issue