Skip to content

Commit aa3b1ff

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 angular-ui#1337
1 parent dff74e3 commit aa3b1ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/common.css

+6
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)