Skip to content

Commit

Permalink
chore: fix width
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk committed Jan 20, 2024
1 parent 6a02e22 commit 56326c1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/theme/setting-drawer/setting-drawer-item.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@
</span>
@switch (i.type) {
@case ('color') {
<input
nz-input
type="color"
style="min-width: 88px"
[(ngModel)]="i.value"
[ngModelOptions]="{ standalone: true }"
/>
<input nz-input type="color" style="width: 88px" [(ngModel)]="i.value" [ngModelOptions]="{ standalone: true }" />
}
@case ('input') {
<input nz-input style="min-width: 88px" [(ngModel)]="i.value" [ngModelOptions]="{ standalone: true }" />
<input nz-input style="width: 88px" [(ngModel)]="i.value" [ngModelOptions]="{ standalone: true }" />
}
@case ('px') {
<nz-input-number
Expand Down

0 comments on commit 56326c1

Please sign in to comment.