Merge branch 'next' into develop

This commit is contained in:
nocobase[bot] 2025-03-02 13:34:25 +00:00
commit af38a7cd22

View File

@ -36,9 +36,8 @@ export const BlockItemCard = React.forwardRef<HTMLDivElement, CardProps | any>((
return () => clearTimeout(timer); return () => clearTimeout(timer);
}, [blockTitle, description]); }, [blockTitle, description]);
const title = (blockTitle || description) && ( const title = (blockTitle || description) && (
<div ref={titleRef} style={{ padding: '4px 0px 4px' }}> <div ref={titleRef} style={{ padding: '8px 0px 8px' }}>
<span>{blockTitle}</span> <span>{blockTitle}</span>
{description && ( {description && (
<MarkdownReadPretty <MarkdownReadPretty
@ -47,10 +46,7 @@ export const BlockItemCard = React.forwardRef<HTMLDivElement, CardProps | any>((
overflowWrap: 'break-word', overflowWrap: 'break-word',
whiteSpace: 'normal', whiteSpace: 'normal',
fontWeight: 400, fontWeight: 400,
color: '#777', color: token.colorTextDescription,
lineHeight: '1.6',
padding: '4px 12px',
backgroundColor: token.colorFillTertiary,
borderRadius: '4px', borderRadius: '4px',
}} }}
/> />