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:
@@ -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>
|
||||
|
||||
@@ -155,3 +155,7 @@
|
||||
.VPHero .container .image {
|
||||
max-width: 1200px;
|
||||
}
|
||||
|
||||
.home .VPNav .container {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user