Skip to content

Commit eb4264d

Browse files
committed
fix selection text color
1 parent 19ba8d3 commit eb4264d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function OutputView({ code }) {
165165
return (
166166
<div
167167
className={[
168-
"bg-white/5 p-4 w-full text-green-600 overflow-x-scroll transition-opacity duration-500",
168+
"bg-white/5 p-4 w-full text-green-600 overflow-x-scroll transition-opacity duration-500 selection:bg-slate-700 selection:text-green-500",
169169
(loading || code !== debouncedCode) && "opacity-30",
170170
]
171171
.filter(Boolean)

0 commit comments

Comments
 (0)