Move body classes to html tag

This commit is contained in:
Nicola Spadari
2025-01-02 21:57:21 +01:00
parent bb089f045c
commit dfb48cf7ee
2 changed files with 2 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
<template> <template>
<Html min-h-screen> <Html class="scroll-smooth min-h-screen">
<Body overflow-x-hidden bg-dark-800 text-white> <Body class="font-text antialiased overflow-x-hidden bg-dark-800 text-white">
<NuxtLayout> <NuxtLayout>
<NuxtPage /> <NuxtPage />
</NuxtLayout> </NuxtLayout>
@@ -11,7 +11,6 @@
<style lang="scss"> <style lang="scss">
html { html {
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
scroll-behavior: smooth;
} }
img { img {
-webkit-user-drag: none; -webkit-user-drag: none;

View File

@@ -15,9 +15,6 @@ export default defineNuxtConfig({
meta: [ meta: [
{ name: "format-detection", content: "no" } { name: "format-detection", content: "no" }
], ],
bodyAttrs: {
class: "font-text antialiased"
}
}, },
pageTransition: { pageTransition: {
name: "page", name: "page",