Skip to content

Commit 0eb6d6d

Browse files
committed
chore: adjust form's error font-size css to fix width use em
1 parent e21f864 commit 0eb6d6d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/ui/src/styles/components/form.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,13 @@
231231
float: right;
232232
min-height: calc(1.5em + 5px);
233233
padding: 2px 0;
234-
font-size: 0.9em;
235234
}
236235

237236
@include e(error) {
238237
@include utils-ellipsis;
239238

239+
font-size: 0.9em;
240+
240241
@include m(error) {
241242
color: var(--#{$rd-prefix}color-danger);
242243
}

0 commit comments

Comments
 (0)