New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropdown box-shadow #55
Comments
fix it using: /* select2 full border / |
It works... however as you can see in your example image there's an offset at the bottom. Removing that offset causes the 2 box shadows to overlap: If anybody's able to figure this out so that there's not that double sized offset on one end and the 2 box shadows don't overlap, I'd be more than happy to implement this as it's something I want as well, but could never figure it out without it looking goofy. |
Slightly more pleasing look.
One issue I've spotted is that the select box-shadow used for the top has transitions, where as the dropdown border (emulating the box-shadow, but without top) used at the bottom doesn't have transitions. |
select2-boostrap-3 had a border color and shadown on select2-dropdown
select-bootstrap-5 seems not to have it. Could fix it by now adding: box-shadow: 0 0.5rem 0 0.25rem #0d6efd40
.select2-container--bootstrap-5 .select2-dropdown.select2-dropdown--below {
border-top: 0 solid transparent;
border-top-left-radius: 0;
border-top-right-radius: 0;
box-shadow: 0 0.5rem 0 0.25rem #0d6efd40;
}
the only thing now, the spread at the bottom is a bit large, and with using input-group this needs more adjustments.
The text was updated successfully, but these errors were encountered: