Skip to content

Commit

Permalink
fix: scrollbar on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
BigJk committed Feb 23, 2024
1 parent e312595 commit d87414f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions frontend/src/js/ui/components/print-preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,24 @@ const pre = `
body {
line-height: 1;
}
#content::-webkit-scrollbar {
#content::-webkit-scrollbar-thumb:hover {
background: #d1d1d1;
}
#content::-webkit-scrollbar, ::-webkit-scrollbar {
width: 0;
}
#content::-webkit-scrollbar-track {
#content::-webkit-scrollbar-track, ::-webkit-scrollbar-track {
background: #f1f1f1;
}
#content::-webkit-scrollbar-thumb {
#content::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb {
background: #c2c2c2;
}
#content::-webkit-scrollbar-thumb:hover {
#content::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:hover {
background: #d1d1d1;
}
</style>
Expand Down

0 comments on commit d87414f

Please sign in to comment.