Skip to content

Commit

Permalink
Dropdown option text should be wrapped in multiple texts (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasharma05 authored Dec 1, 2023
1 parent 945229a commit bb30bbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion projects/ngx-formentry/styles/ngx-formentry.css
Original file line number Diff line number Diff line change
Expand Up @@ -297,14 +297,15 @@
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
line-height: 3em;
min-height: 3em;
white-space: nowrap;
white-space: wrap !important;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 16px;
text-decoration: none;
position: relative;
color: rgba(0, 0, 0, 0.87);
text-align: left;
border-bottom: 1px solid #eee;
}

[dir='rtl'] .ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/carbon.select.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
.ng-dropdown-panel .ng-dropdown-panel-items .ng-option {
line-height: 3em;
min-height: 3em;
white-space: nowrap;
white-space: wrap !important;
overflow: hidden;
text-overflow: ellipsis;
padding: 0 16px;
Expand Down

0 comments on commit bb30bbb

Please sign in to comment.