1
0
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:
郭桓桓 2023-03-02 00:09:17 +08:00
parent 3ddc662741
commit e13c83de24
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75

View File

@ -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;
} }