Show the rating above the comment text
CI / Deploy / test (push) Successful in 57s
CI / Deploy / deploy (push) Skipped

The rating has the same height for every comment, so above the text it
stays in place while the comments rotate; only the text changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-11 13:59:40 +01:00
1 parent b5ea4e70c8
commit 0660affb56
3 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -585,13 +585,13 @@ button.qa-steps__step:hover:not(:disabled) { color: var(--text); border-color: v
.comments__text { margin: 0; font-size: var(--comment-size); font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.comments__text::before { content: '„'; }
.comments__text::after { content: '“'; }
.comments__value { margin: 6px 0 0; color: var(--muted); font-size: .9em; }
.comments__value { margin: 0 0 6px; color: var(--muted); font-size: .9em; }
/* all comments share one grid cell (invisible sizers): the box keeps the height of the longest one */
.comments__body { display: grid; }
.comments__body > * { grid-area: 1 / 1; min-width: 0; }
.comments__sizer { visibility: hidden; }
/* 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: 11em; }
.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 */