[9.2.10] Ajustement réglage bannière

This commit is contained in:
fredtempez 2019-11-14 08:36:06 +01:00
parent a17d2f9feb
commit 2f4e5c0d18

View File

@ -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");