Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 9ddc48e

Browse files
just-borisuser378230
authored andcommitted
fix(bootstrap) do not overflow matched item text
Do not overflow matched item text out of select block. Closes #1337
1 parent a38fdb9 commit 9ddc48e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/common.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ body > .select2-container.open {
152152
right: 15px;
153153
}
154154

155+
.ui-select-bootstrap .ui-select-match-text {
156+
width: 100%;
157+
overflow: hidden;
158+
text-overflow: ellipsis;
159+
}
160+
155161
/* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
156162
.ui-select-bootstrap > .ui-select-choices ,.ui-select-bootstrap > .ui-select-no-choice {
157163
width: 100%;

0 commit comments

Comments
 (0)