Skip to content

Commit

Permalink
Simplify scrollbar css
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed Sep 25, 2024
1 parent df42463 commit 720a060
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/portal/ui/app.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,7 @@
(when-not (theme/is-vs-code?)
(let [thumb "rgba(0,0,0,0.3)"]
[:style
(str "* { scrollbar-color: " thumb " rgba(0,0,0,0); } "
"*::-webkit-scrollbar { width: 10px; height: 10px; }"
(str "*::-webkit-scrollbar { width: 10px; height: 10px; }"
"*::-webkit-scrollbar-corner { opacity: 0 }"
"*::-webkit-scrollbar-track { opacity: 0 }"
"*::-webkit-scrollbar-thumb { background-color: " thumb "; }"
Expand Down

0 comments on commit 720a060

Please sign in to comment.