解决白边

This commit is contained in:
expdsn 2024-11-15 16:26:52 +08:00
parent ade0c79a3c
commit 4dc8cc349a
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export default defineComponent({
jump(props.block.link) jump(props.block.link)
}} }}
style={{ style={{
backgroundColor: props.block.background || 'white', backgroundColor: props.block.text ? props.block.background || 'white' : 'transparent',
color: props.block.color || 'black', color: props.block.color || 'black',
backgroundImage: props.block.icon ? `url('${props.block.icon}')` : '', backgroundImage: props.block.icon ? `url('${props.block.icon}')` : '',
fontSize: props.dock ? '16px' : props.brief ? '12px' : 'calc(var(--block-size) / 5)' fontSize: props.dock ? '16px' : props.brief ? '12px' : 'calc(var(--block-size) / 5)'