Skip to content

Fix IconButton height#298

Merged
davinotdavid merged 3 commits into
mainfrom
davinotdavid/fix-iconbutton-height
Jun 26, 2026
Merged

Fix IconButton height#298
davinotdavid merged 3 commits into
mainfrom
davinotdavid/fix-iconbutton-height

Conversation

@davinotdavid

@davinotdavid davinotdavid commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What changed?

  • IconButton has a height: auto now
  • Updated ESLint config so functions inside .test.js components are parsed correctly
  • Add IconButton tests

Why?

We've accidentally introduced a regression on the IconButton component when fixing the height of the base button (#296)

Applicable Issues

Closes #297

Screenshots

Before

Screen.Recording.2026-06-26.at.10.35.42.AM.mov

After

Screen.Recording.2026-06-26.at.10.36.19.AM.mov

@davinotdavid davinotdavid requested a review from devmount June 26, 2026 16:37
@MelissaAutumn

Copy link
Copy Markdown
Member

Would it be possible to add a regression test? Like test the icon component for height and if it's not within a margin of error fail the test?

@davinotdavid

Copy link
Copy Markdown
Contributor Author

@MelissaAutumn yep! Added tests and ESLint config fixes, thanks!

@devmount devmount left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks Davi! Works locally and tests are passing ✔️

@davinotdavid davinotdavid merged commit 8355943 into main Jun 26, 2026
3 checks passed
@davinotdavid davinotdavid deleted the davinotdavid/fix-iconbutton-height branch June 26, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IconButton component should have height auto

3 participants