We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d863569 commit e652674Copy full SHA for e652674
src/website/top-banner.js
@@ -3,6 +3,7 @@ export function TopBanner() {
3
document
4
.querySelector(".close-top-banner")
5
.addEventListener("click", () => {
6
+ document.querySelector(".top-banner-bg").classList.add("closed");
7
document.querySelector(".top-banner").classList.add("closed");
8
document.querySelector(".top-banner-spacer").classList.add("hide");
9
document.querySelector(".navbar").classList.remove("top-banner-open");
stylus/website/index.styl
@@ -1848,6 +1848,14 @@ footer {
1848
width: 100%;
1849
height: 48px;
1850
z-index: 100;
1851
+
1852
+ &.closed {
1853
+ visibility: hidden;
1854
+ height: 0;
1855
+ opacity: 0;
1856
+ padding: 0;
1857
+ transition: all 0.1s linear;
1858
+ }
1859
}
1860
1861
.top-banner {
0 commit comments