Move body classes to html tag
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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",
|
||||||
|
Reference in New Issue
Block a user