Implement a dropdown-center and dropdown-start. #2855
Supermarcel10
started this conversation in
Ideas / feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1. Add a dropdown class that centers a dropdown
This can be done by adding the following CSS:
NOTE: This CSS code doesn't consider mutual exclusion between dropdown-end.
Example Usage:
With the CSS I provided it differenciates
dropdown-top
,dropdown-left
,dropdown-right
anddropdown-bottom
:2. Add a dropdown class that sets the position of a dropdown to it's start
This is useful when you have multiple dropdowns inside a parent div and want to override the default. I.e. You would be able to have
dropdown-center
as the default and override it todropdown-start
ordropdown-end
.Example Usage:
Beta Was this translation helpful? Give feedback.
All reactions