From a55f661e62d45a7bbd7eaad1a1e898e4f64f6531 Mon Sep 17 00:00:00 2001 From: vince Date: Mon, 3 Jan 2022 20:31:07 +0100 Subject: [PATCH] =?UTF-8?q?am=C3=A9liore=20le=20rendu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 555a589..1e8205f 100644 --- a/index.php +++ b/index.php @@ -340,6 +340,7 @@ $linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier) <?php if ($hasSupplier) : ?><?php echo strip_tags($config[$supplier]['title']); ?><?php if (!$isConfig) : ?> — <?php echo strip_tags($config[$supplier]['subtitle']); ?><?php endif; ?><?php else : ?><?php echo DEFAULT_TITLE; ?><?php endif; ?> +
@@ -471,8 +472,10 @@ $linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier)
-
- +
+
+ +
@@ -772,6 +775,11 @@ $linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier) }); tooltip.show(); }); + document.querySelectorAll('.js-fixed').forEach(function (element) { + const height = window.getComputedStyle(element).height; + element.parentElement.style.height = height; + element.classList.add('is-fixed'); + }); }, false);