floating-button-z (#15440)

This commit is contained in:
Craig Box 2024-07-19 02:48:19 +12:00 committed by GitHub
parent 7f1ede4de6
commit 555e8dc588
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,9 @@ $footerHeight: 7rem;
$modal-z: 110;
$header-z: 100;
$overlay-z: 75;
$hero-text-z: 70;
$sidebar-z: 50;
$banner-z: 20;
$hero-text-z: 18;
$floating-button-z: 15;
$glossary-letter-z: 10;
$toolbar-button-z: 1;

View File

@ -83,7 +83,7 @@ function handleEvents(): void {
if (display) {
el.style.display = "block";
const heroSection = document.querySelector<HTMLElement>("main.landing section#banner");
const heroSection = document.querySelector<HTMLElement>("main.landing section#hero");
const banners = document.querySelector<HTMLElement>(".banner-container");
if (banners && heroSection) {
@ -113,7 +113,7 @@ function handleEvents(): void {
listen(el, click, () => {
el.style.display = "none";
const heroSection = document.querySelector<HTMLElement>("main.landing section#banner");
const heroSection = document.querySelector<HTMLElement>("main.landing section#hero");
const banners = document.querySelector<HTMLElement>(".banner-container");
if (banners && heroSection) {