Skip to content

Commit

Permalink
feat: improve ui for color-edit component (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Oct 3, 2023
1 parent 81d3c1f commit b023a6a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
}

.t-select {
width: 4.875rem;
width: 5.875rem;
}

.t-opacity {
width: 4.275rem;
}

.t-rgb,
.t-opacity {
text-align: center;
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<ng-template #rgb>
<tui-input-count
tuiTextfieldSize="m"
class="t-rgb"
[hideButtons]="true"
[max]="255"
[ngModel]="color[0]"
Expand All @@ -39,6 +40,7 @@
></tui-input-count>
<tui-input-count
tuiTextfieldSize="m"
class="t-rgb"
[hideButtons]="true"
[max]="255"
[ngModel]="color[1]"
Expand All @@ -47,6 +49,7 @@
></tui-input-count>
<tui-input-count
tuiTextfieldSize="m"
class="t-rgb"
[hideButtons]="true"
[max]="255"
[ngModel]="color[2]"
Expand Down

0 comments on commit b023a6a

Please sign in to comment.