diff --git a/src/layout/grid/LinkBlock.tsx b/src/layout/grid/LinkBlock.tsx index e0e783a..70c1e56 100644 --- a/src/layout/grid/LinkBlock.tsx +++ b/src/layout/grid/LinkBlock.tsx @@ -31,7 +31,7 @@ export default defineComponent({ jump(props.block.link) }} style={{ - backgroundColor: props.block.background || 'white', + backgroundColor: props.block.text ? props.block.background || 'white' : 'transparent', color: props.block.color || 'black', backgroundImage: props.block.icon ? `url('${props.block.icon}')` : '', fontSize: props.dock ? '16px' : props.brief ? '12px' : 'calc(var(--block-size) / 5)'