Skip to content

Commit 9df12be

Browse files
committed
fix: Ensure diff code block lines are formatted correctly
1 parent ffdfcc8 commit 9df12be

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/components/codeBlock/code-blocks.module.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,22 +79,16 @@
7979

8080
/* Diff highlighting, classes provided by rehype-prism-plus */
8181
/* Set inserted line (+) color */
82-
/* Move the margin left and adjust width so we can keep the parent padding */
8382
:global(.diff-inserted),
8483
:global(.inserted) {
8584
background-color: rgba(16, 185, 129, 0.2);
86-
margin-left: -12px;
87-
width: calc(100% + 12px);
8885
}
8986

9087
/* Diff highlighting, classes provided by rehype-prism-plus */
9188
/* Set deleted line (-) color */
92-
/* Move the margin left and adjust width so we can keep the parent padding */
9389
:global(.diff-deleted),
9490
:global(.deleted) {
9591
background-color: rgba(239, 68, 68, 0.2);
96-
margin-left: -12px;
97-
width: calc(100% + 12px);
9892
}
9993
}
10094

0 commit comments

Comments
 (0)