mirror of
https://github.com/danbulant/slightlyComplicatedTicTacToe
synced 2026-07-07 20:20:36 +00:00
improved scrollbar
This commit is contained in:
parent
7caa4cb292
commit
91ea7c1a16
1 changed files with 20 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
||||||
</PageTransition>
|
</PageTransition>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
<style lang="postcss">
|
||||||
:global(:root), :global(body) {
|
:global(:root), :global(body) {
|
||||||
@apply overflow-hidden w-100vw;
|
@apply overflow-hidden w-100vw;
|
||||||
}
|
}
|
||||||
|
|
@ -39,4 +39,23 @@
|
||||||
@apply transition-colors;
|
@apply transition-colors;
|
||||||
-webkit-tap-highlight-color: transparent;
|
-webkit-tap-highlight-color: transparent;
|
||||||
}
|
}
|
||||||
|
:global(::-webkit-scrollbar) {
|
||||||
|
width: 10px;
|
||||||
|
}
|
||||||
|
:global(::-webkit-scrollbar-thumb) {
|
||||||
|
background: #d8d8d8;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
:global(.dark ::-webkit-scrollbar-thumb) {
|
||||||
|
background: #2e2e2e;
|
||||||
|
}
|
||||||
|
:global(::-webkit-scrollbar-track) {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
:global(::-webkit-scrollbar-button) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
:global(::-webkit-scrollbar-track-piece) {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in a new issue