1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-25 14:59:26 +01:00

chore(docs): improve top menu on home layout

This commit is contained in:
Amir Raminfar
2023-07-18 08:35:21 -07:00
parent 80800674bd
commit 93347a6888
2 changed files with 13 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import { useMutationObserver } from "@vueuse/core";
import { onMounted, ref } from "vue";
import { onMounted, onUnmounted, ref } from "vue";
const isDark = ref(false);
onMounted(() => {
@@ -16,6 +16,14 @@ onMounted(() => {
},
);
});
onMounted(() => {
document.documentElement.classList.add("home");
});
onUnmounted(() => {
document.documentElement.classList.remove("home");
});
</script>
<template>

View File

@@ -155,3 +155,7 @@
.VPHero .container .image {
max-width: 1200px;
}
.home .VPNav .container {
max-width: 100%;
}