From 4f9cfa94b7d5fa43242ba970982e1c0a4d225725 Mon Sep 17 00:00:00 2001 From: Adrien Maston Date: Fri, 6 Feb 2026 12:30:28 +0100 Subject: [PATCH] Allow comment author block to wrap on 2 lines --- app/assets/stylesheets/comments.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/comments.css b/app/assets/stylesheets/comments.css index a8605503b..01a9fbe91 100644 --- a/app/assets/stylesheets/comments.css +++ b/app/assets/stylesheets/comments.css @@ -91,6 +91,17 @@ .btn { font-weight: inherit; } + + @media (max-width: 639px) { + margin-block-end: calc(var(--block-space-half) / 2); + + h3 { + display: flex; + flex-wrap: wrap; + align-items: baseline; + column-gap: 0.4em; + } + } } .comment__avatar { @@ -155,7 +166,7 @@ text-transform: capitalize; @media (max-width: 639px) { - line-height: 1.5lh; + font-size: var(--text-small); } }