mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 06:59:26 +08:00
Merge branch 'next' into develop
This commit is contained in:
commit
af38a7cd22
@ -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',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user