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

Commit 3f73ee4

Browse files
just-borisfcaballero
authored andcommitted
fix(bootstrap) do not overflow matched item text
Do not overflow matched item text out of select block. Closes #1337
1 parent 37b8748 commit 3f73ee4

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
@@ -161,6 +161,12 @@ body > .select2-container.open {
161161
right: 15px;
162162
}
163163

164+
.ui-select-bootstrap .ui-select-match-text {
165+
width: 100%;
166+
overflow: hidden;
167+
text-overflow: ellipsis;
168+
}
169+
164170
/* See Scrollable Menu with Bootstrap 3 http://stackoverflow.com/questions/19227496 */
165171
.ui-select-bootstrap > .ui-select-choices ,.ui-select-bootstrap > .ui-select-no-choice {
166172
width: 100%;

0 commit comments

Comments
 (0)