mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-05 01:58:58 +03:00
Don't show the Close button when window resizes
This commit is contained in:
parent
35df5dca00
commit
8377a487ea
@ -568,10 +568,6 @@ li {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.close-desc {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-top: 48px;
|
||||
padding: 12px 0;
|
||||
|
@ -509,6 +509,7 @@ if (isOnMobile) {
|
||||
});
|
||||
|
||||
example.querySelectorAll(".close-desc").forEach((button) => {
|
||||
button.style.display = "block";
|
||||
button.addEventListener("click", hideDesc);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user