Skip to content

Commit

Permalink
fix(filebrowser): give file editor black background on dark mode with…
Browse files Browse the repository at this point in the history
…out syntax highlighting

Thanks to @atomflunder for reporting this bug

Closes #218
  • Loading branch information
ravenclaw900 committed Apr 23, 2022
1 parent 2151259 commit 07be869
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontend/src/pages/FileBrowser.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@
class="overflow-y-hidden z-20 p-px w-full font-mono text-sm whitespace-pre resize-none tab-4 caret-black dark:caret-white focus:outline-none"
class:bg-transparent={highlighting}
class:text-transparent={highlighting}
class:dark:bg-black={!highlighting}
/>
<div
bind:this={fileDiv}
Expand Down

0 comments on commit 07be869

Please sign in to comment.