Skip to content

Commit

Permalink
css - hide scrollbars for ubuntu too
Browse files Browse the repository at this point in the history
  • Loading branch information
lakesare committed Feb 1, 2025
1 parent c207fca commit fc788a3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ body *{
.hypothesis span.name{
color: #d0005b;
}
/*
Hides scrollbars - we can still scroll, but we don't want to show scrollbars.
Notice we need both of these rules - one for ubuntu, another for osx.
*/
html{ scrollbar-width: none; }
body::-webkit-scrollbar{ display: none; }
body{
background: white;
color: #3a505a;
font-weight: 500;
/* Hides scrollbars - we can still scroll, but we don't want to show scrollbars */
&::-webkit-scrollbar {
display: none;
}
/* Make tldraw bg dark for dark vscode themes */
&.vscode-dark{
background-color: var(--vscode-editor-background);
Expand Down

0 comments on commit fc788a3

Please sign in to comment.