fix: dashbox style
This commit is contained in:
@@ -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`
|
||||||
|
|||||||
Reference in New Issue
Block a user