Skip to content

Commit

Permalink
feat(legacy): MultiSelect allow checkbox on the right side
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea committed Dec 4, 2024
1 parent e77b631 commit 77085af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
<button
*ngFor="let item of jedi"
tuiOption
[style.flex-direction]="'row-reverse'"
[value]="item"
>
{{ item }}
<span [style.flex]="1">{{ item }}</span>
</button>
</tui-opt-group>
<tui-opt-group label="Sith">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@
:host {
display: flex;
flex: 1;
flex-direction: inherit;
gap: 0.75rem;
align-items: center;
animation: retrigger 1s;
}

.t-checkbox {
margin-right: 0.75rem;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<tui-primitive-checkbox
class="t-checkbox"
[size]="size"
[value]="selected$ | async"
></tui-primitive-checkbox>
Expand Down

0 comments on commit 77085af

Please sign in to comment.