fix(style): remove padding for highlighted code (#157)

* fix(style): remove padding for highlighted lines

* chore: run build:css
This commit is contained in:
Xin 2023-10-27 09:56:39 -04:00 committed by GitHub
parent c6f432566d
commit 2d2e8aec4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -2241,7 +2241,7 @@ article details > summary::before {
}
.chroma .ln,
.chroma .lnt:not(.hl > .lnt),
.chroma .hl {
.chroma .hl:not(.line) {
min-width: 2.6rem;
padding-left: 1rem;
padding-right: 1rem;
@ -2250,7 +2250,7 @@ article details > summary::before {
}
:is(html[class~="dark"] .chroma .ln),:is(html[class~="dark"]
.chroma .lnt:not(.hl > .lnt)),:is(html[class~="dark"]
.chroma .hl) {
.chroma .hl:not(.line)) {
--tw-text-opacity: 1;
color: rgb(212 212 212 / var(--tw-text-opacity));
}

View File

@ -32,7 +32,7 @@
}
.ln,
.lnt:not(.hl > .lnt),
.hl {
.hl:not(.line) {
@apply pl-4 pr-4 min-w-[2.6rem] text-neutral-600 dark:text-neutral-300;
}
.lntd {