Skip to content

Commit f234277

Browse files
authored
Merge pull request #1774 from basecamp/card-title-line-height-tweaks
Shrink space between title and content
2 parents a8e8c1d + 3a67f66 commit f234277

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/assets/stylesheets/cards.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
font-size: var(--text-xx-large);
152152
font-weight: 900;
153153
line-height: 1.15;
154-
margin-block-end: 1ch;
154+
margin-block-end: 0.5ch;
155155
text-wrap: balance;
156156

157157
/* With tight line spacing, Windows will cover over adjacent lines of text
@@ -171,7 +171,7 @@
171171

172172
.card-field__title {
173173
overflow: hidden; /* prevent scrolling on windows */
174-
padding-block-end: 1ch;
174+
padding-block-end: 0.5ch;
175175

176176
&:is(textarea)::placeholder {
177177
color: inherit;

0 commit comments

Comments
 (0)