Skip to content

Commit f3f9418

Browse files
committed
fix(form): [form] fix validate icon shrink when text very long
1 parent 0902436 commit f3f9418

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/theme/package.json

+1-1
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

+1
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)