fix: style issue of dialog component icon (#5910)

#### What type of PR is this?

/kind bug
/area core
/area ui

#### What this PR does / why we need it:

dialog 组件在标题内容过多的时候,icon 会很小,样式出现错位!

#### Does this PR introduce a user-facing change?

```release-note
修复当 Dialog 标题过长时,提示图标的样式问题。
```
pull/5917/head
lan-yonghui 2024-05-14 10:04:32 +08:00 committed by GitHub
parent a629961e8d
commit 0d524e1ba2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ const handleClose = () => {
<component
:is="icons[type].icon"
:class="`text-${icons[type].color}-500`"
class="w-6 h-6"
class="w-6 h-6 flex-none"
></component>
<div class="text-base text-gray-900 font-bold">{{ title }}</div>
</div>