Skip to content

Commit

Permalink
fix(SelectionList): single mode no longer truncates long text
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #1772
  • Loading branch information
benjamincharity committed Dec 16, 2019
1 parent b0c67d2 commit 64acd2d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terminus-ui/selection-list/src/selection-list.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ $transition-duration: 200;
.ts-selection-list {
cursor: cursor(pointer);
display: block;

&.ts-selection-list--single {
.ts-selection-list__input {
width: 94%;
}
}
}

.ts-selection-list__input-wrap {
Expand Down
1 change: 1 addition & 0 deletions terminus-ui/selection-list/src/selection-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export type TsSelectionListComparator = (a: unknown, b: unknown) => boolean;
'class': 'ts-selection-list',
'[class.ts-selection-list--required]': 'isRequired',
'[class.ts-selection-list--disabled]': 'isDisabled',
'[class.ts-selection-list--single]': '!allowMultiple',
'[attr.aria-owns]': 'panelOpen ? optionIds : null',
'[attr.aria-required]': 'isRequired.toString()',
'[attr.aria-multiselectable]': 'allowMultiple',
Expand Down

0 comments on commit 64acd2d

Please sign in to comment.