Skip to content

Commit c03cfb5

Browse files
fix: prevent doc navigation overflow in narrow columns (#2528)
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
1 parent e54286d commit c03cfb5

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎src/components/patterns/DocBottomNav/DocBottomNav.css‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,19 @@
66
margin-top: var(--space-8);
77
padding-top: var(--space-6);
88
border-top: 1px solid var(--color-border-secondary);
9+
flex-wrap: wrap;
10+
}
11+
12+
.doc-nav__link--prev,
13+
.doc-nav__link--next {
14+
flex-grow: 1;
15+
min-width: 0;
16+
white-space: normal;
17+
overflow-wrap: anywhere;
18+
19+
svg {
20+
flex-shrink: 0;
21+
}
922
}
1023

1124
.doc-nav__link--next {

0 commit comments

Comments
 (0)