Adjust comment UX per feedback: reply alignment and Turnstile init
- move reply controls into normal left-aligned flow - restore stronger primary/reply button treatments - render Turnstile when reply details panels are opened - rebuild Tailwind CSS
This commit is contained in:
@@ -76,6 +76,14 @@
|
||||
onTurnstileReady(target);
|
||||
});
|
||||
|
||||
document.addEventListener("toggle", function (event) {
|
||||
const details = event.target;
|
||||
if (!details || details.tagName !== "DETAILS" || !details.open) {
|
||||
return;
|
||||
}
|
||||
onTurnstileReady(details);
|
||||
});
|
||||
|
||||
window.addEventListener("load", function () {
|
||||
syncCommentsEmptyState();
|
||||
onTurnstileReady(document);
|
||||
|
||||
Reference in New Issue
Block a user