Skip to content

Commit

Permalink
SQ-67513 [FRONT] - Melhoria no componente de multiselect caso tenham …
Browse files Browse the repository at this point in the history
…muitos itens listados (#99)

* feat: add maxHeight input to select-multi-tags values

* chore: bump
  • Loading branch information
JoaoBianco authored Jan 15, 2025
1 parent 82da01a commit 614e815
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
disabled: disabled,
readonly: readonly
}"
[style.maxHeight]="maxHeight"
(click)="doDropDownAction()"
>
<div class="loading-wrapper" *ngIf="loading">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@
transition: var(--transition);
color: var(--text_color);
border-radius: 5px;
overflow-x: auto;

.icon-down {
right: 5px;
right: 20px;
bottom: calc(50% - 6px);
position: absolute;
font-size: 0.86rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ export class SqSelectMultiTagsComponent implements OnChanges {
*/
@Input() labelColor = ''

/**
* Maximum height for the multi-tag values.
*/
@Input() maxHeight = '100%'

/**
* Minimum number of characters to perform the searchChange.
*/
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.67",
"version": "1.3.68",
"peerDependencies": {
"@angular/common": ">=15.0.0",
"@angular/cdk": ">=15.0.0",
Expand Down

0 comments on commit 614e815

Please sign in to comment.