fix(a11y): keep core values dt/dd one div below the dl in ValuesView

This commit is contained in:
Locust agent
2026-11-03 06:02:44 +00:00
parent 71d96c6220
commit 11276fb9eb
+6 -8
View File
@@ -14,14 +14,12 @@ import PageSection from '@/components/layout/PageSection.vue'
<PageSection title="Core values" summary="A core value names the thing it prefers over the thing it gives up.">
<dl class="space-y-5">
<div v-for="value in coreValues" :key="value.valueMore" class="flex gap-3 border-l-2 border-accent pl-3">
<div class="mt-1 text-accent">
<i :class="value.icon" aria-hidden="true"></i>
</div>
<div>
<dt class="text-title font-semibold text-large">{{ value.valueMore }}</dt>
<dd class="text-body-base text-body">We choose this over {{ value.over }}.</dd>
</div>
<div v-for="value in coreValues" :key="value.valueMore" class="flex flex-col border-l-2 border-accent pl-3">
<dt class="flex items-baseline gap-3 text-title font-semibold text-large">
<i :class="value.icon" class="text-body-base leading-none text-accent" aria-hidden="true"></i>
{{ value.valueMore }}
</dt>
<dd class="pl-7 text-body-base text-body">We choose this over {{ value.over }}.</dd>
</div>
</dl>
</PageSection>