mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-24 23:28:32 +08:00
fix: support text wrapping in buttons for long content (#19390)
This commit is contained in:
parent
135b8bd4f5
commit
a24c20a731
@ -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…
x
Reference in New Issue
Block a user