docs(ComponentCode/ComponentExample): wrong border on light mode

This commit is contained in:
Benjamin Canac
2024-09-24 14:58:40 +02:00
parent b83ecc9a6f
commit d921b764de
2 changed files with 4 additions and 4 deletions

View File

@@ -101,8 +101,8 @@ const optionsValues = ref(props.options?.reduce((acc, option) => {
<template>
<div class="my-5">
<div v-if="preview">
<div class="border border-gray-300 dark:border-gray-700 relative z-[1]" :class="[{ 'border-b-0 rounded-t-md': props.source, 'rounded-md': !props.source }]">
<div v-if="props.options?.length" class="flex gap-4 p-4 border-b border-gray-300 dark:border-gray-700">
<div class="border border-gray-200 dark:border-gray-700 relative z-[1]" :class="[{ 'border-b-0 rounded-t-md': props.source, 'rounded-md': !props.source }]">
<div v-if="props.options?.length" class="flex gap-4 p-4 border-b border-gray-200 dark:border-gray-700">
<UFormField
v-for="option in props.options"
:key="option.name"