You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this was the intention when this component was created, but this is probably convenient, even if not intentional. You may not always want a padding forced on you over there. This gives more freedom to the user of the component to apply a padding to other elements inside it.
Imagine for instance that You want to show a list inside the dropdown and you show lines between these list items. You'd probably prefer the list item elements to reach all the way to the borders of the dropdown and then apply the paddings to the items instead.
That being said, the storybook example should do something like that because it does look weird.
🐛 Bug report
Current behavior
Drop down content has no padding
Steps to reproduce the bug
Environment
In official GitHub pages, and my browser is
Brave Chrome/84.0.4147.135
The text was updated successfully, but these errors were encountered: