Skip to content

Commit 3c2a7f8

Browse files
committed
Fix for extra added spaces at the start of lines
1 parent d44dacd commit 3c2a7f8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+46
-1
lines changed

src/Languages/Base/Injections/GutterInjection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function parse(string $content, Highlighter $highlighter): ParsedInjectio
6262
$gutterClass = 'hl-gutter' . ($hasClasses ? ' ' . $hasClasses : '');
6363

6464
$lines[$i] = sprintf(
65-
Escape::tokens('<span class="%s">%s</span> %s'),
65+
Escape::tokens('<span class="%s">%s</span>%s'),
6666
$gutterClass,
6767
str_pad(
6868
string: (string) $gutterNumber,

src/Themes/Css/andromeeda.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pre, code {
7272
font-size: 0.9em;
7373
color: #555;
7474
padding: 0 1ch;
75+
margin-right: 1ch;
7576
user-select: none;
7677
}
7778

src/Themes/Css/aurora-x.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pre, code {
7272
font-size: 0.9em;
7373
color: #555;
7474
padding: 0 1ch;
75+
margin-right: 1ch;
7576
user-select: none;
7677
}
7778

src/Themes/Css/ayu-dark.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pre, code {
7272
font-size: 0.9em;
7373
color: #555;
7474
padding: 0 1ch;
75+
margin-right: 1ch;
7576
user-select: none;
7677
}
7778

src/Themes/Css/catppuccin-frappe.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pre, code {
7272
font-size: 0.9em;
7373
color: #555;
7474
padding: 0 1ch;
75+
margin-right: 1ch;
7576
user-select: none;
7677
}
7778

src/Themes/Css/catppuccin-latte.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pre, code {
7272
font-size: 0.9em;
7373
color: #555;
7474
padding: 0 1ch;
75+
margin-right: 1ch;
7576
user-select: none;
7677
}
7778

src/Themes/Css/catppuccin-macchiato.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pre, code {
7272
font-size: 0.9em;
7373
color: #555;
7474
padding: 0 1ch;
75+
margin-right: 1ch;
7576
user-select: none;
7677
}
7778

src/Themes/Css/catppuccin-mocha.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pre, code {
7272
font-size: 0.9em;
7373
color: #555;
7474
padding: 0 1ch;
75+
margin-right: 1ch;
7576
user-select: none;
7677
}
7778

src/Themes/Css/dark-plus.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pre, code {
7272
font-size: 0.9em;
7373
color: #555;
7474
padding: 0 1ch;
75+
margin-right: 1ch;
7576
user-select: none;
7677
}
7778

src/Themes/Css/dracula-soft.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ pre, code {
7272
font-size: 0.9em;
7373
color: #555;
7474
padding: 0 1ch;
75+
margin-right: 1ch;
7576
user-select: none;
7677
}
7778

0 commit comments

Comments
 (0)