Skip to content

Commit 661bedd

Browse files
authored
fix codeexample label overlap (rescript-lang#430)
1 parent 87a3c4b commit 661bedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/CodeExample.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ let make = (~highlightedLines=[], ~code: string, ~showLabel=true, ~lang="text")
126126

127127
let label = if showLabel {
128128
let label = langShortname(lang)
129-
<div className="absolute right-0 px-4 pb-4 bg-gray-5 font-sans text-12 font-bold text-gray-60 ">
129+
<div className="absolute right-0 px-4 pb-4 font-sans text-12 font-bold text-gray-60 ">
130130
{
131131
//RES or JS Label
132132
Js.String2.toUpperCase(label)->React.string

0 commit comments

Comments
 (0)