Skip to content

Commit

Permalink
fix(Dropdown): fixing a styling bug with data table dropdown cell lis…
Browse files Browse the repository at this point in the history
…ts (#1457)
  • Loading branch information
dvoegelin authored Aug 18, 2023
1 parent 397b097 commit 8e20dfd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions projects/novo-elements/src/elements/dropdown/Dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,29 @@
background: $light;
}
}
&.novo-table-dropdown-cell {
::ng-deep list {
max-height: 400px;
display: block;
overflow: auto;
padding: 5px 0;
}
::ng-deep item {
height: 30px !important;
padding: 0 16px !important;
span {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
max-width: 80%;
}
&.active {
font-weight: 500;
}
}
::ng-deep dropdown-item-header {
padding: 0 10px !important;
}
}
}

0 comments on commit 8e20dfd

Please sign in to comment.