ritterim / platform-ui

A CSS framework build all of our apps and websites.

Home Page:https://platformui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ensure icons are the same dimensions

jaime-lynn opened this issue · comments

🔧 Enhancement Request

All icons should be the same dimensions, regardless of if some if it is occupied by empty space.

Currently, we can run into things like this:
Screen Shot 2022-06-01 at 2 49 54 PM

Despite the elements having the same spacing, since the icon for "Details" is smaller than the others, the text ends up out of alignment. This was resolved in the above example with an mr-1 on the icon, but that really shouldn't be necessary. Icons should reliably have the same dimensions.

Who is asking for the feature?

@jaime-lynn and @mrtrimble

What business problem is this hoping to solve?

Provides consistency.

Estimates

FE - 1

We need to update 2 places until we map the separation of icons.

once this is implemented the entire team should do a quick look in Platform to test

For QA / Everyone - Let me know if any weird stuff shows up around icons!

@mrtrimble looks like an over-correction?

2022-06-15 16_22_10-The Platform

@JCarver27 - good point! That was the original inspiration for this adjustment lol.

That was "fixed" previously by adding a class to make it line up, but now that the icons are same widths that class can be removed. I can take care of that quick tomorrow!

@JCarver27 that weird icon should now be fixed with @Azbury's PRs

@mrtrimble Looks good. I'm not sure if I should close this or leave it, since it was asked for everybody to keep an eye out for icon type things.

I think it can be closed, I haven't really heard from anyone else. If something comes up, folks can either reach out or create a new issue.