From 3a81c05eaea1d38b7326e4ac637df44dd1f960c7 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Tue, 30 Sep 2025 16:33:49 -0500 Subject: [PATCH] Avoid scrolling in card title input, cut-off descenders Added a note because this keeps getting changed. A value of 1.1 looks best but has problems with our automatic field sizing and in geneneral with Windows. Windows since forever, has simply cropped descenders when the line-height is lower than it prefers. It's dumb but real. --- app/assets/stylesheets/cards.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/cards.css b/app/assets/stylesheets/cards.css index 84046527f..c340494fd 100644 --- a/app/assets/stylesheets/cards.css +++ b/app/assets/stylesheets/cards.css @@ -148,7 +148,9 @@ color: var(--color-ink); font-size: var(--text-xx-large); font-weight: 900; - line-height: 1.1; + line-height: 1.3; + /* We need a minimum line-height of 1.3 to avoid scrolling + in the card title input and cut-off descenders on Windows */ text-wrap: balance; @supports not (field-sizing: content) {