chore: hide scrollbar

This commit is contained in:
liyasthomas
2021-11-24 19:27:25 +05:30
parent b398ed1e90
commit b58278d55e
2 changed files with 6 additions and 2 deletions

View File

@@ -27,6 +27,11 @@
@apply h-4;
}
.hide-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
@apply hidden;
}
@@ -61,7 +66,6 @@ body {
animation: fade 300ms forwards;
font-size: var(--body-font-size);
line-height: var(--body-line-height);
overflow: overlay;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
}

View File

@@ -24,7 +24,7 @@
>
<Pane class="flex flex-1 hide-scrollbar !overflow-auto">
<main class="flex flex-1 w-full">
<nuxt class="flex flex-1" style="overflow-y: overlay" />
<nuxt class="flex flex-1" />
</main>
</Pane>
</Splitpanes>