Vinay Sajip
unread,May 15, 2013, 6:50:45 AM5/15/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sel...@googlegroups.com
I want to display multiple selections with the closing "x" on the right hand side. What's the best way of doing this? I tried using just CSS overrides. However, I ran into one problem: my rule
.select2-container-multi .select2-search-choice-close {
right: 3px;
}
which is intended to position the "x" on the right, works - but only if I comment out the corresponding rule in select2.css:
.select2-container-multi .select2-search-choice-close {
left: 3px;
}
Since "right" doesn't override "left", with the base rule kept in, "left" wins - at least on Chrome, so the "x" still appears on the left. Is there a cleaner way which I'm missing, which doesn't require changing select2.css at all?
Regards,
Vinay Sajip