fix(projects): resolve width abnormal issue of NColorPicker.

This commit is contained in:
Azir-11
2026-03-12 17:29:19 +08:00
committed by Soybean
parent 85d5f13630
commit 75ccd00843

View File

@@ -68,14 +68,15 @@ const swatches: string[] = [
{{ $t('theme.appearance.themeColor.followPrimary') }}
</NCheckbox>
</template>
<NColorPicker
class="w-90px"
:value="themeStore.themeColors[key]"
:disabled="key === 'info' && themeStore.isInfoFollowPrimary"
:show-alpha="false"
:swatches="swatches"
@update:value="handleUpdateColor($event, key)"
/>
<div class="w-90px">
<NColorPicker
:value="themeStore.themeColors[key]"
:disabled="key === 'info' && themeStore.isInfoFollowPrimary"
:show-alpha="false"
:swatches="swatches"
@update:value="handleUpdateColor($event, key)"
/>
</div>
</SettingItem>
</div>
</template>