style: line highlight for linenos=inline

This commit is contained in:
ZhenShuo Leo
2025-12-08 16:07:42 +08:00
parent 7b5fe02079
commit ff9a860af9
2 changed files with 10 additions and 0 deletions

View File

@@ -3346,6 +3346,10 @@
margin: calc(var(--spacing) * 0);
padding: calc(var(--spacing) * 0);
}
.chroma:not(:is(table *)) > code {
display: block;
min-width: max-content;
}
html:not(.dark) {
.bg {
background-color: #fff;

View File

@@ -30,6 +30,12 @@
@apply p-0 m-0;
}
/* linenos=inline */
.chroma:not(:is(table *)) > code {
display: block;
min-width: max-content;
}
html:not(.dark) {
/* Generated using: hugo gen chromastyles --style=github */