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 c1b6986 commit ba74345Copy full SHA for ba74345
src/components/mdx/Comments.astro
@@ -115,6 +115,10 @@ const url = `https://${host}/@${userName}/${mastodonRef}`;
115
margin-right: 0;
116
margin-left: 2rem;
117
}
118
+
119
+ #comments-container[data-empty] {
120
+ margin-top: 1rem;
121
+ }
122
123
</style>
124
<hr />
@@ -180,6 +184,7 @@ const url = `https://${host}/@${userName}/${mastodonRef}`;
180
184
181
185
if (!Array.isArray(descendants) || descendants.length === 0) {
182
186
commentsWrapper.innerHTML = "No discussion found";
187
+ commentsWrapper.dataset["empty"] = "true";
183
188
descendants = [];
189
190
0 commit comments