Skip to content

Commit df9d43a

Browse files
fixed typography sizes
1 parent 8a6c69a commit df9d43a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

src/components/style-guide/editor.scss

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $guide-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Ro
3434
font-weight: 700;
3535
line-height: 1.2;
3636
margin-bottom: 1em;
37-
&:not(:first-child) {
37+
&:not(:first-child):not(:first-of-type) {
3838
margin-top: 2.5em;
3939
}
4040
}
@@ -198,7 +198,18 @@ $guide-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Ro
198198
// Typography
199199

200200
.ugb-style-guide__typography-headings {
201-
grid-template-columns: 1fr 1fr 1fr;
201+
grid-template-columns: 1fr 0.8fr 0.7fr;
202+
.ugb-style-guide__column {
203+
overflow: hidden;
204+
}
205+
.ugb-style-guide__typography-preview {
206+
overflow: hidden;
207+
white-space: nowrap;
208+
text-overflow: ellipsis;
209+
}
210+
}
211+
.ugb-style-guide__typography-preview {
212+
line-height: 1.2;
202213
}
203214

204215
.ugb-style-guide__typography-container {

0 commit comments

Comments
 (0)