mirror of https://github.com/istio/istio.io.git
floating-button-z (#15442)
Co-authored-by: Craig Box <craig.box@gmail.com>
This commit is contained in:
parent
beed9e1c67
commit
0618f04fd3
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue