Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/components/codeBlock/code-blocks.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,16 @@

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

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

Expand Down
Loading