diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index fc5cbe2..47adcb1 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -25,15 +25,26 @@ } } -*::-webkit-scrollbar { +.scrollbar-styled::-webkit-scrollbar { width: 10px; } -*::-webkit-scrollbar-track { - background-color: var(--color-neutral-800); +.scrollbar-styled::-webkit-scrollbar-track { + background-color: transparent; } -*::-webkit-scrollbar-thumb { +.scrollbar-styled::-webkit-scrollbar-thumb { border-radius: 5px; background-color: var(--color-neutral-600); +} + +@utility scrollbar-hidden { + &::-webkit-scrollbar { + display: none; + } + + & { + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ + } } \ No newline at end of file diff --git a/components/Page/index.vue b/components/Page/index.vue index 8f9707f..bf342f1 100644 --- a/components/Page/index.vue +++ b/components/Page/index.vue @@ -35,7 +35,11 @@ const pageFitImageClass = computed(() => {