Skip to content

Commit 0b3a8d1

Browse files
committed
fix: change NqGrid component from div to ul for semantic HTML structure
1 parent fbeb6f4 commit 0b3a8d1

File tree

1 file changed

+2
-2
lines changed
  • packages/nimiq-vitepress-theme/src/components

1 file changed

+2
-2
lines changed

packages/nimiq-vitepress-theme/src/components/NqGrid.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ const {cards} = defineProps<{
1010
</script>
1111

1212
<template>
13-
<div grid="~ cols-6 gap-16" class="nq-grid">
13+
<ul grid="~ cols-6 gap-16" class="nq-grid">
1414
<slot>
1515
<li v-for="(card, index) in cards" :key="index" data-card="default">
1616
<NqCard v-bind="card" />
1717
</li>
1818
</slot>
19-
</div>
19+
</ul>
2020
</template>
2121

2222
<style scoped>

0 commit comments

Comments
 (0)