Skip to content

Commit

Permalink
fixed kebab-case white-space css in design-system (keystonejs#7120)
Browse files Browse the repository at this point in the history
  • Loading branch information
moselhy authored Dec 25, 2021
1 parent 23351e4 commit 0dc3d4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion design-system/packages/notice/src/Notice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const Notice = ({
flex: 1,
flexDirection: 'row',
outline: 0,
'white-space': 'pre-wrap',
whiteSpace: 'pre-wrap',
...styles.box,
}}
tabIndex={0}
Expand Down
2 changes: 1 addition & 1 deletion design-system/packages/toast/src/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const ToastElement = forwardRef<HTMLDivElement, ToastElementProps>((props
width: 380, // less than desirable magic number, but not sure if this needs to be in theme...
maxWidth: '100%',
padding: spacing.large,
'white-space': 'pre-wrap',
whiteSpace: 'pre-wrap',
}}
{...rest}
>
Expand Down

0 comments on commit 0dc3d4d

Please sign in to comment.