new changes
This commit is contained in:
@@ -273,9 +273,9 @@
|
||||
|
||||
/* CONTAINER */
|
||||
|
||||
* {
|
||||
/* * {
|
||||
scroll-behavior: smooth !important;
|
||||
}
|
||||
} */
|
||||
|
||||
@utility container {
|
||||
@apply mx-auto px-[var(--app-container-padding)] w-full max-sm:max-w-[var(--breakpoint-xs)] max-md:max-w-[var(--breakpoint-sm)] max-lg:max-w-[var(--breakpoint-md)] max-xl:max-w-[var(--breakpoint-lg)] max-w-[var(--breakpoint-2xl)];
|
||||
|
||||
@@ -3,7 +3,7 @@ export default defineNuxtPlugin((nuxtApp) => {
|
||||
let isFirstLoad = true;
|
||||
|
||||
nuxtApp.hook("page:finish", () => {
|
||||
const currentPath = useRoute().fullPath;
|
||||
const { fullPath: currentPath } = useRoute();
|
||||
|
||||
if (isFirstLoad) {
|
||||
previousPath = currentPath;
|
||||
|
||||
Reference in New Issue
Block a user