Skip to content

Commit cfdafc2

Browse files
committed
fix(in-page-navigation): modified code so vertical items wrap text
1 parent 0b90abd commit cfdafc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/paste-core/components/in-page-navigation/src/InPageNavigationItem.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ const VERTICAL_BASE_STYLES: BoxStyleProps = {
6363
paddingRight: "space50",
6464
borderBottomRightRadius: "borderRadius30",
6565
borderTopRightRadius: "borderRadius30",
66+
whiteSpace: "break-spaces",
6667
_focus: {
6768
boxShadow: "shadowFocusInset",
6869
outline: "none",

0 commit comments

Comments
 (0)