fix: fix style

This commit is contained in:
fantasticit 2022-03-29 15:40:11 +08:00
parent 080bb1eb55
commit f2be70396c
2 changed files with 10 additions and 3 deletions

View File

@ -2,7 +2,7 @@
code { code {
padding: 4px; padding: 4px;
font-family: Consolas, Menlo, Courier, monospace; font-family: Consolas, Menlo, Courier, monospace;
font-size: .875rem; font-size: 0.875rem;
line-height: 1.3; line-height: 1.3;
cursor: text; cursor: text;
background-color: var(--semi-color-fill-1); background-color: var(--semi-color-fill-1);
@ -25,7 +25,7 @@
padding: 0; padding: 0;
margin: 8px; margin: 8px;
overflow: auto; overflow: auto;
font-size: .875rem; font-size: 0.875rem;
line-height: 1.5rem; line-height: 1.5rem;
color: inherit; color: inherit;
white-space: pre; white-space: pre;
@ -33,6 +33,12 @@
overscroll-behavior: contain; overscroll-behavior: contain;
} }
} }
.node-codeBlock {
&::before {
opacity: 0;
}
}
} }
/*! /*!
@ -276,6 +282,6 @@ body[theme-mode='dark'] {
} }
img { img {
opacity: .75; opacity: 0.75;
} }
} }

View File

@ -1,5 +1,6 @@
.wrap { .wrap {
position: relative; position: relative;
margin-top: 0.75em;
.handleWrap { .handleWrap {
display: flex; display: flex;