Don't show the Close button when window resizes

This commit is contained in:
Richard Feldman 2023-11-20 01:03:08 -05:00
parent 35df5dca00
commit 8377a487ea
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B
2 changed files with 1 additions and 4 deletions

View File

@ -568,10 +568,6 @@ li {
display: inline;
}
.close-desc {
display: block !important;
}
h2 {
margin-top: 48px;
padding: 12px 0;

View File

@ -509,6 +509,7 @@ if (isOnMobile) {
});
example.querySelectorAll(".close-desc").forEach((button) => {
button.style.display = "block";
button.addEventListener("click", hideDesc);
});
});