Skip to content

Commit 7a5fd77

Browse files
authored
fix: remove form item width (#196)
* fix: remove form item width * Create thick-windows-smell.md
1 parent 55d853f commit 7a5fd77

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.changeset/shiny-chicken-behave.md

-5
This file was deleted.

.changeset/thick-windows-smell.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@alauda/ui": patch
3+
---
4+
5+
feat: String input support for the form item with 'large' | 'small' | 'medium'

src/form/__snapshots__/form.component.spec.ts.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exports[`FormComponent should match snapshot 1`] = `
3030
class="aui-form-item__container"
3131
>
3232
<div
33-
class="aui-form-item__content aui-form-item__content--medium"
33+
class="aui-form-item__content"
3434
>
3535
<input
3636
aui-input=""
@@ -101,7 +101,7 @@ exports[`FormComponent should match snapshot 2`] = `
101101
class="aui-form-item__container"
102102
>
103103
<div
104-
class="aui-form-item__content aui-form-item__content--medium"
104+
class="aui-form-item__content"
105105
>
106106
<input
107107
aui-input=""

src/form/form-item/form-item.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class FormItemComponent implements AfterContentInit, OnDestroy {
4848
labelWidth = 'auto';
4949

5050
@Input()
51-
width: FormItemWidth = FormItemWidth.Medium;
51+
width: FormItemWidth;
5252

5353
@Input()
5454
labelPosition: LabelPosition = LabelPosition.Right;

0 commit comments

Comments
 (0)