floating-button-z (#15442)

Co-authored-by: Craig Box <craig.box@gmail.com>
This commit is contained in:
Istio Automation 2024-07-18 10:58:18 -04:00 committed by GitHub
parent beed9e1c67
commit 0618f04fd3
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) {