mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
fix(code): fix duplicate selector rules
This commit is contained in:
parent
3ddc662741
commit
e13c83de24
@ -3,7 +3,8 @@ code {
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-family: var(--xm-font-mono);
|
font-family: var(--xm-font-mono);
|
||||||
color: var(--xm-c-dark);
|
color: var(--xm-c-dark);
|
||||||
&::before, &::after {
|
&::before,
|
||||||
|
&::after {
|
||||||
content: '`';
|
content: '`';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -26,9 +27,7 @@ pre {
|
|||||||
border-width: 0;
|
border-width: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
&::before {
|
&::before,
|
||||||
content: none;
|
|
||||||
}
|
|
||||||
&::after {
|
&::after {
|
||||||
content: none;
|
content: none;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user