mirror of
https://github.com/marktext/marktext.git
synced 2025-05-03 02:10:29 +08:00
Fix style bug
This commit is contained in:
parent
7aa0d1bf4d
commit
079e654131
@ -533,7 +533,7 @@ pre.ag-front-matter span.ag-code-content:first-of-type:empty::after {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre[data-role$='code'] span.ag-language-input:empty::after {
|
pre[data-role$='code'] span.ag-language-input:empty::after {
|
||||||
content: 'Input Language...';
|
content: 'Input Language Identifier...';
|
||||||
color: var(--editorColor10);
|
color: var(--editorColor10);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1149,18 +1149,18 @@ pre:not(.ag-active):hover .ag-code-copy {
|
|||||||
left: -16px;
|
left: -16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre[class*="language-"].line-numbers {
|
pre.ag-paragraph.line-numbers {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-left: 2.5em;
|
padding-left: 2.5em;
|
||||||
counter-reset: linenumber;
|
counter-reset: linenumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre[class*="language-"].line-numbers > code {
|
pre.ag-paragraph.line-numbers > code {
|
||||||
position: relative;
|
position: relative;
|
||||||
white-space: inherit;
|
white-space: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
figure:not(.ag-active) pre[class*="language-"].line-numbers {
|
figure:not(.ag-active) pre.ag-paragraph.line-numbers {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user