mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2025-12-14 19:01:51 +01:00
Add margin for scrollbar shift
This commit is contained in:
10
src/App.vue
10
src/App.vue
@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user