- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 476
Closed
Labels
🐛 bugSomething isn't workingSomething isn't workingconfirmedThis bug was confirmedThis bug was confirmedgood first issueGood for newcomersGood for newcomers
Milestone
Description
- [ Yes ] I have searched the Issues to see if this bug has already been reported
- [ Yes ] I have tested the latest version
Steps to reproduce
- Define a Button.group with different number and length of words and shrink the space available for all the component
Current behavior
Now each button has a different height depending on the words of each button:
 
Expected behavior
All the buttons should have the same height.
Context
I was checking responsive design for mobile devices, and I have seen this strange behaviour.
        <Button.Group>
          <Button size="sm" color="light" onPointerDown={filterLastYear}>
            <span className={internalFilterDate === FilterDate.LAST_YEAR ? selectedButtonClassname : undefined}>
              Last year
            </span>
          </Button>
          <Button size="sm" color="light" onPointerDown={filterLastMonth}>
            <span className={internalFilterDate === FilterDate.LAST_MONTH ? selectedButtonClassname : undefined}>
              Last 30 days
            </span>
          </Button>
          <Button size="sm" color="light" onPointerDown={filterLastWeek}>
            <span className={internalFilterDate === FilterDate.LAST_WEEK ? selectedButtonClassname : undefined}>
              Last 7 days
            </span>
          </Button>
          <Button size="sm" color="light" onPointerDown={filterAlways}>
            <span className={internalFilterDate === FilterDate.ALWAYS ? selectedButtonClassname : undefined}>
              Always
            </span>
          </Button>
        </Button.Group>
tulup-conner
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't workingconfirmedThis bug was confirmedThis bug was confirmedgood first issueGood for newcomersGood for newcomers