Skip to content

Commit

Permalink
Fixing ugly scrollbars in chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorthiz committed Oct 14, 2024
1 parent 31b9c18 commit 2baffe7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions css/scrollbars.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
::-webkit-scrollbar {
width: 4px;
height: 4px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(155, 155, 155, 0.5);
border-radius: 20px;
border: transparent;
}
::-webkit-scrollbar-corner {
background: transparent;
}
1 change: 1 addition & 0 deletions src/v1/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import "./../../css/contextmenu.css";
import "golden-layout/src/css/goldenlayout-base.css";
import "golden-layout/src/css/goldenlayout-dark-theme.css";
import "./../../css/app.css";
import "./../../css/scrollbars.css";
import "jstree/dist/themes/default/style.min.css";
import "jstree/dist/themes/default-dark/style.min.css";
import "font-awesome/css/font-awesome.min.css";
Expand Down

0 comments on commit 2baffe7

Please sign in to comment.