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