forked from ZwiiCMS-Team/ZwiiCMS
[9.2.10] Ajustement réglage bannière
This commit is contained in:
parent
a17d2f9feb
commit
2f4e5c0d18
@ -343,8 +343,8 @@ core.start = function() {
|
|||||||
var ratio = width / height;
|
var ratio = width / height;
|
||||||
if ( ($(window).width() / ratio) <= height) {
|
if ( ($(window).width() / ratio) <= height) {
|
||||||
$("header").height( $(window).width() / ratio );
|
$("header").height( $(window).width() / ratio );
|
||||||
}
|
$("header").css("line-height", $(window).width() / ratio + "px");
|
||||||
$("header").css("line-height", $(window).width() / ratio + "px");
|
}
|
||||||
}
|
}
|
||||||
}).trigger("resize");
|
}).trigger("resize");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user