From cdf48e806dcd27c96b30069f234532ab64a7f5f9 Mon Sep 17 00:00:00 2001 From: Echo Date: Mon, 18 May 2026 10:45:43 +0200 Subject: [PATCH] Fixes bio spacing when there aren't paragraph tags (#39055) --- .../components/account_header/styles.module.scss | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/javascript/mastodon/components/account_header/styles.module.scss b/app/javascript/mastodon/components/account_header/styles.module.scss index a54ca18c8a..e51f1af3ec 100644 --- a/app/javascript/mastodon/components/account_header/styles.module.scss +++ b/app/javascript/mastodon/components/account_header/styles.module.scss @@ -275,9 +275,14 @@ $button-fallback-breakpoint: $button-breakpoint + 55px; font-size: 15px; color: var(--color-text-primary); unicode-bidi: plaintext; - display: flex; - flex-direction: column; - gap: 20px; + + p { + margin-bottom: 20px; + + &:last-child { + margin-bottom: 0; + } + } :any-link { color: var(--color-text-status-links);