fix(style): 1.修复ToggleGroupItem边框样式问题 2.修复用户头像下拉框Badge背景颜色
This commit is contained in:
@@ -46,7 +46,7 @@ const forwardedProps = useForwardProps(delegatedProps);
|
||||
size: context?.size || size,
|
||||
}),
|
||||
'w-auto min-w-0 shrink-0 px-3 focus:z-10 focus-visible:z-10',
|
||||
'data-[spacing=0]:rounded-none data-[spacing=0]:shadow-none data-[spacing=0]:first:rounded-l-md data-[spacing=0]:last:rounded-r-md data-[spacing=0]:data-[variant=outline]:border-l-0 data-[spacing=0]:data-[variant=outline]:first:border-l',
|
||||
'data-[spacing=0]:rounded-none data-[spacing=0]:shadow-none data-[spacing=0]:first:rounded-l-md data-[spacing=0]:last:rounded-r-md data-[variant=outline]:[&:not(:first-child)]:-ml-px data-[spacing=0]:data-[variant=outline]:first:border-l',
|
||||
props.class,
|
||||
)
|
||||
"
|
||||
|
||||
@@ -237,7 +237,11 @@ if (enableShortcutKey.value) {
|
||||
>
|
||||
{{ text }}
|
||||
<slot name="tagText">
|
||||
<Badge v-if="tagText" class="ml-2 text-green-400">
|
||||
<Badge
|
||||
v-if="tagText"
|
||||
variant="secondary"
|
||||
class="ml-2 text-green-400"
|
||||
>
|
||||
{{ tagText }}
|
||||
</Badge>
|
||||
</slot>
|
||||
|
||||
Reference in New Issue
Block a user