We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e3292b commit 1d1b287Copy full SHA for 1d1b287
_includes/css/post.css
@@ -14,6 +14,6 @@ details summary {
14
font-weight: bold;
15
}
16
17
-details summary ul {
+details ul {
18
list-style-type: none;
19
js/post.js
@@ -0,0 +1,7 @@
1
+document.addEventListener('DOMContentLoaded', () => {
2
+ const details = document.querySelector('details');
3
+
4
+ if(!details?.querySelector('ul')) {
5
+ details.classList.add('hidden');
6
+ }
7
+})
0 commit comments