diff --git a/src/styles/global.css b/src/styles/global.css index c0e49db..9328e17 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -64,11 +64,17 @@ @layer base { html, body { - @apply overflow-x-hidden scroll-smooth; + @apply overflow-x-hidden scroll-smooth h-full; } body { - @apply text-gray-darker dark:text-white dark:bg-[#111] font-sans text-base leading-normal m-0; + @apply snap-y snap-proximity text-gray-darker dark:text-white dark:bg-[#111] font-sans text-base leading-normal m-0; + } + + header, + footer, + section { + @apply snap-start; } a:focus-visible,