fix: dashbox style

This commit is contained in:
Gabe
2025-08-27 01:05:35 +08:00
parent 5c44ba1da8
commit cbc82fff64

View File

@@ -56,12 +56,11 @@ const StyledSpan = styled("span")`
border: 1px dashed ${bgColor || DEFAULT_COLOR}; border: 1px dashed ${bgColor || DEFAULT_COLOR};
background: transparent; background: transparent;
display: block; display: block;
padding: 5px 5px; padding: 0.2em;
box-sizing: border-box; box-sizing: border-box;
white-space: normal; white-space: normal;
word-wrap: break-word; word-wrap: break-word;
overflow-wrap: break-word; overflow-wrap: break-word;
line-height: 1.4;
`; `;
case OPT_STYLE_FUZZY: // 模糊 case OPT_STYLE_FUZZY: // 模糊
return css` return css`