Skip to content

Commit

Permalink
feat(choice): Fix alignment of selected state on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
lzcabrera committed Dec 11, 2017
1 parent d959419 commit 532ada3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Choice/Choice.modules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,7 @@
opacity: 0;
width: 0;
height: 0;

// to make sure the selected state (green circle) is properly aligned on mobile devices
position: absolute;

This comment has been minimized.

Copy link
@ryanoglesby08

ryanoglesby08 Dec 12, 2017

Contributor

Interesting.....

Usually with position: absolute you also set it's top, left, bottom, or right... so I'm a little confused as to why this works without those things.

}

0 comments on commit 532ada3

Please sign in to comment.