From ad09f6789c5154d5380bfc00594afcf610aeec0c Mon Sep 17 00:00:00 2001 From: flob Date: Wed, 22 Jun 2016 21:20:39 +0000 Subject: [PATCH] fix(bootstrap layout): Restrict selected length to ui-select-container --- src/common.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/common.css b/src/common.css index 70f9f7858..e8a39c060 100644 --- a/src/common.css +++ b/src/common.css @@ -261,3 +261,19 @@ body > .ui-select-bootstrap.open { .ui-select-container[theme="bootstrap"].direction-up .ui-select-dropdown { box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.25); } + +.ui-select-bootstrap .ui-select-match-text { + width: 100%; + padding-right: 1em; +} +.ui-select-bootstrap .ui-select-match-text span { + display: inline-block; + width: 100%; + overflow: hidden; +} +.ui-select-bootstrap .ui-select-toggle > a.btn { + position: absolute; + height: 10px; + right: 10px; + margin-top: -2px; +} \ No newline at end of file