forked from drowl87/hextra_mirror
fix(style): remove padding for highlighted code (#157)
* fix(style): remove padding for highlighted lines * chore: run build:css
This commit is contained in:
parent
c6f432566d
commit
2d2e8aec4c
@ -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));
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user