Hide "check all/none" buttons when JavaScript isn't available

These buttons only work without JavaScript, so we shouldn't show them in
this case.

I was wondering whether we should use the `hidden` HTML attribute so
these buttons don't show up when stylesheets haven't loaded either. Not
doing so because we already have a stylesheet for the <noscript>
scenario. We might change our minds regarding how to handle these styles
in the future.
This commit is contained in:
Javi Martín
2024-04-12 15:27:35 +02:00
parent 63eacf4579
commit 15ca47caed

View File

@@ -3,3 +3,7 @@
display: block;
}
}
.check-all-none {
display: none;
}