style: 标签最小宽度取消样式

This commit is contained in:
xinxin.wu 2024-09-25 16:39:36 +08:00 committed by Craftsman
parent c48b9fb245
commit 44d968e959
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
> >
<slot name="icon"></slot> <slot name="icon"></slot>
<a-tooltip :disabled="props.tooltipDisabled"> <a-tooltip :disabled="props.tooltipDisabled">
<div :class="`one-line-text min-w-[20px] ${props.maxWidth || '144px'}`"> <div :class="`one-line-text ${props.maxWidth || '144px'}`">
<slot></slot> <slot></slot>
</div> </div>
<template v-if="$slots.tooltipContent" #content> <template v-if="$slots.tooltipContent" #content>