Skip to content

Commit 5340ff4

Browse files
committed
remove global css class
1 parent 95559d0 commit 5340ff4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@
7474
}
7575
}
7676

77-
:global(.highlight-line) {
78-
border-left: 4px solid var(--brandPink);
79-
}
8077

8178
/* Diff highlighting, classes provided by rehype-prism-plus */
8279
/* Set inserted line (+) color */

src/components/codeHighlights/codeHighlights.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ const HighlightBlockContainer = styled('div')`
130130
background-color: rgba(239, 239, 239, 0.06);
131131
position: relative;
132132
133+
border-left: 4px solid green;
134+
133135
:hover svg {
134136
opacity: 1;
135137
}

0 commit comments

Comments
 (0)