aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascript/preprocessor.js
diff options
context:
space:
mode:
authorTeddy Wing2018-02-01 11:57:40 +0100
committerTeddy Wing2018-02-01 15:42:04 +0100
commit87ca2f0e7fd9b331363eb3f2dc4ba891f8a1901a (patch)
treee906b4e2ad8693ac64cc88c69e92e72be60eb8a0 /spec/javascript/preprocessor.js
parentc99847eb430a6f98c019f71f4f5e05831f3e054d (diff)
downloadchouette-core-87ca2f0e7fd9b331363eb3f2dc4ba891f8a1901a.tar.bz2
_select2.sass: Prevent drop-down arrow from overlapping selection
When the text of the current selection was very long, it could extend to the end of the input, the farthest right: +-------------------+ | Long text is long | +-------------------+ The problem is that the arrow indicating you can click on the input to bring up a drop-down list of options would cover the "g" in "long" in the above example (well, not exactly because of proportional width characters, but you get the idea). Fix the overlap by overriding Bootstrap Select2's style from app/assets/stylesheets/vendor/select2-bootstrap.css:306-309, which looks like this: .select2-container--bootstrap .select2-selection--single .select2-selection__rendered { color: #555555; padding: 0; } Obviously, the padding is wrong. We need some right padding to give room for the arrow. What are you thinking Bootstrap Select2? Refs #5576
Diffstat (limited to 'spec/javascript/preprocessor.js')
0 files changed, 0 insertions, 0 deletions