Skip to content

Commit

Permalink
Merge pull request #65 from squidit/fix-sq-select-multi-tags-wrap
Browse files Browse the repository at this point in the history
fix-sq-select-multi-tags-wrap
  • Loading branch information
JonasPeres committed Jun 17, 2024
2 parents b2d4b2e + 73e6d1d commit e25ff63
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<span *ngIf="!value?.length || !showInside">{{ placeholder }}</span>
<div class="input-fake-content-text" *ngIf="showInside && value?.length">
<span class="tag" *ngFor="let opt of value; let i = index" (click)="removeItem(opt, $event)">
{{ opt?.label }} <i *ngIf="!readonly" class="fas fa-times"></i>
{{ opt?.label }} <i *ngIf="!readonly" class="fas fa-times" [style.minWidth]="'auto'"></i>
</span>
</div>
<span *ngIf="value?.length" class="badge">{{ value!.length }}</span>
Expand Down Expand Up @@ -129,6 +129,7 @@
*ngIf="verifyIfOptionsHasChildren(options)"
></i>
<sq-selector
[style.minWidth]="'auto'"
[id]="(id || name) + '-checkbox-' + opt?.value + '-' + i"
[name]="name + '-checkbox'"
[value]="opt?.value"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,10 @@
width: 100%;

li {
margin: 0;
min-height: 30px;
flex-flow: row wrap;
margin: 0 0 0.5rem;
display: flex;
align-items: center;
flex-wrap: nowrap;
align-items: baseline;
justify-content: flex-start;
transition: var(--transition);
}
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@squidit/ngx-css",
"version": "1.3.35",
"version": "1.3.36",
"peerDependencies": {
"@angular/common": ">=15.0.0",
"@angular/core": ">=15.0.0",
Expand Down

0 comments on commit e25ff63

Please sign in to comment.