<Badge> inside <Button> is inconsistent between themes. #3021
Labels
bug
Report of or fix for something that isn't working as intended
byte-size
good first issue
A good task for a newcomer to start with
When a
<Button size="sm">
contains a<Badge>
element:edx.org
theme, the button grows in height and is no longer consistent with othersize="sm"
buttons:Compare to without a badge, where the buttons had the same height:
<Badge>
nor<Button>
docs page have any examples of a badge inside a button, but I think this should be shown as a supported example. It is in Bootstrap docs and Flowbite docs for example.Context, FWIW: building a button with a dropdown to select filter options, like this:
The text was updated successfully, but these errors were encountered: