break by newline for comment

This commit is contained in:
Kendall Garner 2024-09-11 07:41:15 -07:00
parent 93f2573847
commit 8221af9a8f
No known key found for this signature in database
GPG key ID: 18D2767419676C87

View file

@ -28,7 +28,7 @@ export const Spoiler = ({ maxHeight, defaultOpened, children, ...props }: Spoile
ref={ref} ref={ref}
className={spoilerClassNames} className={spoilerClassNames}
role="button" role="button"
style={{ maxHeight: maxHeight ?? '100px' }} style={{ maxHeight: maxHeight ?? '100px', whiteSpace: 'pre-wrap' }}
tabIndex={-1} tabIndex={-1}
onClick={handleToggleExpand} onClick={handleToggleExpand}
{...props} {...props}