Added hidden scrollbar class

main
TZGyn 3 years ago
parent d71d8639f3
commit f23e64f0ca
Signed by: TZGyn
GPG Key ID: 122EAF77AE81FD4A

@ -16,9 +16,20 @@ body::-webkit-scrollbar,
} }
input { input {
@apply bg-primary border-none p-2; @apply border-none bg-primary p-2;
} }
input:focus { input:focus {
@apply bg-secondary border-none outline-none; @apply border-none bg-secondary outline-none;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hidden::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hidden {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
} }

@ -6,8 +6,11 @@ const parsedMarkdown = computed(() => {
</script> </script>
<template> <template>
<div class="flex h-full min-h-screen w-full flex-col items-center overflow-y-scroll bg-secondary px-12 py-4"> <div
<div class="h-full max-h-full w-full" v-html="parsedMarkdown"> class="scrollbar-hidden flex h-full min-h-screen w-full flex-col items-center overflow-y-scroll bg-secondary px-12 py-4">
<div
class="scrollbar-hidden h-full max-h-full w-full"
v-html="parsedMarkdown">
</div> </div>
</div> </div>
</template> </template>

Loading…
Cancel
Save