💄 Better nav links on mobile

This commit is contained in:
LittleSheep 2024-08-11 22:21:13 +08:00
parent 91cc88ec69
commit b5f5d2d22f

View File

@ -5,9 +5,11 @@
<v-avatar class="me-4 ms-1" color="transparent" size="32" :image="Logo" />
</nuxt-link>
<v-btn variant="text" text="Products" to="/products" exact />
<v-btn variant="text" text="Activity" to="/activity" exact />
<v-btn variant="text" text="Gallery" to="/gallery" exact />
<div class="nav-links overflow-y-auto flex">
<v-btn variant="text" text="Products" to="/products" exact />
<v-btn variant="text" text="Activity" to="/activity" exact />
<v-btn variant="text" text="Gallery" to="/gallery" exact />
</div>
<v-spacer></v-spacer>
@ -25,3 +27,14 @@
<script setup lang="ts">
import Logo from "../assets/logo-w-shadow.png"
</script>
<style scoped>
.nav-links::-webkit-scrollbar {
display: none;
}
.nav-links {
-ms-overflow-style: none;
scrollbar-width: none;
}
</style>