Skip to content

Vertically centered aligned the radio buttons using line-heights#25

Merged
mattxwang merged 1 commit into
masterfrom
radio-center
Apr 12, 2019
Merged

Vertically centered aligned the radio buttons using line-heights#25
mattxwang merged 1 commit into
masterfrom
radio-center

Conversation

@utsavm9

@utsavm9 utsavm9 commented Apr 10, 2019

Copy link
Copy Markdown
Contributor

The line-heights are hard-coded, but I do not think the size of the button changes anyways.

@utsavm9 utsavm9 changed the title Center aligned the radio buttons using line-heights Vertically centered aligned the radio buttons using line-heights Apr 10, 2019
@mattxwang mattxwang self-requested a review April 10, 2019 16:41
@utsavm9 utsavm9 self-assigned this Apr 12, 2019

@connorbo97 connorbo97 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good for me, but I want a second opinion

@mattxwang mattxwang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah, this works. I feel like we should probably do this with flexbox eventually (especially if you have variable sizes), but there are debates in and of itself of using flexbox. Plus, it works for now.

@connorbo97 maybe a 2.0 is refactoring a lot of our CSS to use newer CSS thingies (like CSS Grid, Flexbox, etc. - but looking at our browser support).

@mattxwang mattxwang merged commit e4624d7 into master Apr 12, 2019
@mattxwang mattxwang deleted the radio-center branch April 12, 2019 22:12
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.

3 participants