fixed privacy policy splash

This commit is contained in:
Prospect
2024-03-12 10:59:38 -04:00
parent 14abe15f7b
commit 267b927711
3 changed files with 6 additions and 16 deletions

View File

@@ -1517,10 +1517,6 @@ select {
top: 0px;
}
.right-2 {
right: 0.5rem;
}
.z-20 {
z-index: 20;
}
@@ -1576,10 +1572,6 @@ select {
margin-top: 2rem;
}
.ml-4 {
margin-left: 1rem;
}
.inline {
display: inline;
}
@@ -2055,10 +2047,6 @@ select {
padding-top: 1rem;
}
.pr-2 {
padding-right: 0.5rem;
}
.text-center {
text-align: center;
}

View File

@@ -496,9 +496,11 @@ class SplashScreen {
}
}
showSplashScreen() {
this.splashScreen.classList.remove('hidden');
this.headerNav.classList.add('out-of-view');
this.footerNav.classList.add('out-of-view');
if (window.location.href.indexOf('privacy-policy') === -1) {
this.splashScreen.classList.remove('hidden');
this.headerNav.classList.add('out-of-view');
this.footerNav.classList.add('out-of-view');
}
}
hideSplashScreen() {
this.splashScreen.classList.add('close');

File diff suppressed because one or more lines are too long