Skip to content

Commit 0325f07

Browse files
gimmyhehekagol
authored andcommitted
fix(form): [form] fix validate icon shrink when text very long (#2663)
1 parent 5b8edfe commit 0325f07

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/theme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@opentiny/vue-theme",
33
"type": "module",
4-
"version": "3.20.0",
4+
"version": "3.20.1",
55
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",
66
"author": "OpenTiny Team",
77
"license": "MIT",

packages/theme/src/form-item/index.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@
206206
.validate-icon {
207207
fill: var(--tv-FormItem-icon-color-error);
208208
margin-right: 4px;
209+
flex-shrink: 0;
209210
}
210211
.@{form-item-prefix-cls}__validate-message {
211212
vertical-align: middle;

0 commit comments

Comments
 (0)