From 271f231d26d674b4532655d290e5ab0f36947f4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Tempez?= Date: Tue, 14 Dec 2021 18:55:19 +0100 Subject: [PATCH] Mise en attente line-height proportionnelle --- core/core.js.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/core.js.php b/core/core.js.php index 5454b1bf..6c75b3d1 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -376,7 +376,11 @@ core.start = function() { var height = heightpx.substr(0,heightpx.length-2); var ratio = width / height; if ( ($(window).width() / ratio) <= height) { + //var feature = "getdata(['theme','header','feature']);?>"; $("header").height( $(window).width() / ratio ); + //if( feature !== "feature"){ + // $("header").css("line-height", $(window).width() / ratio + "px"); + //}; } } }).trigger("resize");