Hide the 'Show history' button if there are no other entries to expand

This commit is contained in:
Jason Zimdars
2025-12-16 16:09:09 -06:00
parent a2c69b4d1b
commit 5949b421e9
+8
View File
@@ -116,6 +116,14 @@
}
}
&:nth-child(1 of &):not(:has(&) ~ * *):not(:has(&) ~ *):not(& ~ * *):not(& *) {
/* Targets the first system comment in the document to effectively */
/* hide the "Show history" button if there's only one entry */
.comment__history {
display: none;
}
}
&::before {
/* Make up space for lack of avatar */
content: "";