chore(HorizontalNavigation): handle truncate

This commit is contained in:
Benjamin Canac
2024-01-25 18:02:28 +01:00
parent 8c568b1a29
commit 2e1ef557b5
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<template>
<nav :class="ui.wrapper" v-bind="attrs">
<ul v-for="(section, sectionIndex) of sections" :key="`section${sectionIndex}`" :class="ui.container">
<li v-for="(link, index) of section" :key="`section${sectionIndex}-${index}`">
<li v-for="(link, index) of section" :key="`section${sectionIndex}-${index}`" :class="ui.inner">
<ULink
v-slot="{ isActive }"
v-bind="getULinkProps(link)"