mk6umpwt1: Keep the delete error clear of the text-only quote

This commit is contained in:
2026-10-20 10:44:10 -06:00
parent 048b8ec8d1
commit c40d96c713
6 changed files with 49 additions and 6 deletions
+3 -1
View File
@@ -179,7 +179,7 @@
overflow: hidden;
text-shadow: 0 1px 12px var(--media-shadow);
}
.slide-error { margin: 0; color: var(--danger); font-size: 13px; font-weight: 600; }
.slide-error { margin: 0; color: var(--danger); font-size: 13px; font-weight: 600; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide-on-media .slide-error { color: var(--on-media); }
/* Text-only post: the text is the hero, a serif quote with a crimson opening mark.
@@ -197,6 +197,8 @@
overflow: hidden;
pointer-events: none;
}
/* A failed delete adds the error line (18px) and its 12px gap above the author block: the quote box ends above it. */
.slide-has-error .slide-quote-w { bottom: 211px; }
.slide-own .slide-quote-w { top: calc(122px + env(safe-area-inset-top, 0px)); }
/* Auto margins center the quote and, unlike justify-content, never push overflow above the box. */
.slide-quote-in { margin: auto 0; }