mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2025-12-16 03:31:46 +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>
|
<template>
|
||||||
<div class="bg-gray-100 text-gray-900 min-h-screen h-full
|
<div class="bg-gray-100 text-gray-900 min-h-screen h-full
|
||||||
dark:bg-gray-900 dark:text-slate-50"
|
dark:bg-gray-900 dark:text-slate-50"
|
||||||
style="font-family: 'Comfortaa';">
|
style="font-family: 'Comfortaa'; overflow-x: hidden; ">
|
||||||
<div class="container mx-auto pb-8 px-3 md:px-8 min-h-screen min-w-screen flex flex-col">
|
|
||||||
<RouterView />
|
<!-- 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>
|
</div>
|
||||||
|
|
||||||
<Cookie />
|
<Cookie />
|
||||||
|
|||||||
Reference in New Issue
Block a user