fix: support text wrapping in buttons for long content (#19390)

pull/19424/head
DDDDD12138 9 months ago committed by GitHub
parent 135b8bd4f5
commit a24c20a731
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -22,7 +22,7 @@ const MarkdownButton = ({ node }: any) => {
return <Button
variant={variant}
size={size}
className={cn('!h-8 select-none !px-3')}
className={cn('!h-auto min-h-8 select-none whitespace-normal !px-3')}
onClick={() => {
if (is_valid_url(link)) {
window.open(link, '_blank')

Loading…
Cancel
Save