Add margin for scrollbar shift

This commit is contained in:
2023-02-11 19:41:34 +01:00
parent fc04fbc117
commit 14dd0d2687

View File

@ -1,9 +1,13 @@
<template>
<div class="bg-gray-100 text-gray-900 min-h-screen h-full
dark:bg-gray-900 dark:text-slate-50"
style="font-family: 'Comfortaa';">
<div class="container mx-auto pb-8 px-3 md:px-8 min-h-screen min-w-screen flex flex-col">
<RouterView />
style="font-family: 'Comfortaa'; overflow-x: hidden; ">
<!-- Prevents scrollbar shift -->
<div style="margin-right: calc(-1 * (100vw - 100%));">
<div class="container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col">
<RouterView />
</div>
</div>
<Cookie />