Use the bottom edge of the comment box as progress bar
CI / Deploy / test (push) Successful in 1m1s
CI / Deploy / deploy (push) Skipped

The progress until the next comment no longer takes a row of its own;
it runs along the bottom edge of the box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-11 14:00:43 +01:00
1 parent 0660affb56
commit 12b10121ec
2 files changed
+5 -4

No files matched your search

+4 -3
View File
@@ -580,7 +580,7 @@ button.qa-steps__step:hover:not(:disabled) { color: var(--text); border-color: v
.own-comment__edit { margin-top: 12px; }
.own-comment__edit summary { cursor: pointer; color: var(--muted); width: max-content; max-width: 100%; }
.own-comment__edit summary:hover { color: var(--text); }
.comments { margin-top: 20px; padding: 16px 20px; background: var(--surface-2); border-radius: 14px; }
.comments { position: relative; overflow: hidden; margin-top: 20px; padding: 16px 20px; background: var(--surface-2); border-radius: 14px; }
.comments__counter { margin: 0 0 6px; font-size: .85em; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.comments__text { margin: 0; font-size: var(--comment-size); font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.comments__text::before { content: '„'; }
@@ -593,8 +593,9 @@ button.qa-steps__step:hover:not(:disabled) { color: var(--text); border-color: v
/* at most about 5 lines; longer comments are set smaller by Comments.fit() instead of being cut off */
.comments { --comment-size: 1.25em; --comment-max: 9.5em; }
.comments__sizer, .comments__current { max-height: var(--comment-max); overflow: hidden; }
.comments__progress { height: 4px; margin-top: 14px; border-radius: 2px; background: var(--border); overflow: hidden; }
.comments__progress[hidden] { display: block; visibility: hidden; } /* keeps the layout steady while paused */
/* progress until the next comment: the bottom edge of the box, takes no room of its own */
.comments__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--border); }
.comments__progress[hidden] { display: block; visibility: hidden; } /* paused: the edge stays plain */
.comments__progress-fill { height: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; }
@keyframes comment-progress {
from { transform: scaleX(0); }