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