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.
2 parents a2c69b4 + 5949b42 commit 79070f5Copy full SHA for 79070f5
1 file changed
app/assets/stylesheets/comments.css
@@ -116,6 +116,14 @@
116
}
117
118
119
+ &:nth-child(1 of &):not(:has(&) ~ * *):not(:has(&) ~ *):not(& ~ * *):not(& *) {
120
+ /* Targets the first system comment in the document to effectively */
121
+ /* hide the "Show history" button if there's only one entry */
122
+ .comment__history {
123
+ display: none;
124
+ }
125
126
+
127
&::before {
128
/* Make up space for lack of avatar */
129
content: "";
0 commit comments