We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e95faa1 commit a95e745Copy full SHA for a95e745
.changeset/warm-cameras-vanish.md
@@ -0,0 +1,7 @@
1
+---
2
+'nextra': patch
3
+'nextra-theme-docs': patch
4
+'nextra-theme-blog': patch
5
6
+
7
+Fix the line highlighting background-color does not extend to the full width of the code block when a scrollbar appears with line numbers.
packages/nextra/styles/code-block.css
@@ -25,7 +25,7 @@ pre code:not([class*='twoslash-']) {
25
&::before {
26
counter-increment: line;
27
content: counter(line);
28
- @apply _float-left _pr-4 _text-right _min-w-[2.6rem] _text-gray-500;
+ @apply _inline-block _pr-4 _text-right _min-w-[2.6rem] _text-gray-500;
29
}
30
31
0 commit comments