mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-20 20:18:58 +08:00
fix: run 'pnpm format' update various components and improve layout structure
- Updated demo-preview and preview-group components for better error handling and layout. - Enhanced drawer and modal components for improved auto-height functionality. - Refactored layout components including header, footer, sidebar, and tabbar for better responsiveness and usability. - Adjusted tooltip and help tooltip components for better user guidance. - Fixed issues in various UI components to ensure consistent styling and functionality across the application.
This commit is contained in:
@@ -339,7 +339,7 @@ onUnmounted(() => {
|
||||
:is="FieldComponent"
|
||||
ref="fieldComponentRef"
|
||||
:class="{
|
||||
'border-destructive focus:border-destructive hover:border-destructive/80 focus:shadow-[0_0_0_2px_rgba(255,38,5,0.06)]':
|
||||
'border-destructive hover:border-destructive/80 focus:border-destructive focus:shadow-[0_0_0_2px_rgba(255,38,5,0.06)]':
|
||||
isInValid,
|
||||
}"
|
||||
v-bind="createComponentProps(slotProps)"
|
||||
@@ -367,7 +367,7 @@ onUnmounted(() => {
|
||||
<CircleAlert
|
||||
:class="
|
||||
cn(
|
||||
'text-foreground/80 hover:text-foreground inline-flex size-5 cursor-pointer',
|
||||
'inline-flex size-5 cursor-pointer text-foreground/80 hover:text-foreground',
|
||||
)
|
||||
"
|
||||
/>
|
||||
|
||||
@@ -21,7 +21,7 @@ const props = defineProps<Props>();
|
||||
|
||||
<template>
|
||||
<FormLabel :class="cn('flex items-center', props.class)">
|
||||
<span v-if="required" class="text-destructive mr-[2px]">*</span>
|
||||
<span v-if="required" class="mr-[2px] text-destructive">*</span>
|
||||
<slot></slot>
|
||||
<VbenHelpTooltip v-if="help" trigger-class="size-3.5 ml-1">
|
||||
<VbenRenderContent :content="help" />
|
||||
|
||||
Reference in New Issue
Block a user