From d48b73ebdc43bc6a4aa502ac2802c32bd6f8aca4 Mon Sep 17 00:00:00 2001 From: Fernando Olivares Date: Thu, 26 Feb 2026 21:21:36 -0600 Subject: [PATCH] Fix long card titles truncating in Safari text-wrap: balance conflicts with -webkit-line-clamp in Safari, causing titles to collapse into fewer lines and truncate early. Unset text-wrap when the title is line-clamped on the board view. Co-Authored-By: Claude Opus 4.6 --- app/assets/stylesheets/cards.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/stylesheets/cards.css b/app/assets/stylesheets/cards.css index 011af9089..c658d331a 100644 --- a/app/assets/stylesheets/cards.css +++ b/app/assets/stylesheets/cards.css @@ -207,6 +207,10 @@ line-height: 1.15; text-wrap: balance; + &.overflow-line-clamp { + text-wrap: unset; /* text-wrap: balance breaks -webkit-line-clamp in Safari */ + } + .card-field__title { overflow: hidden; /* prevent scrolling on windows */ padding-block: var(--autosize-block-padding);