Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
improve border-radius value
Browse files Browse the repository at this point in the history
Instead of using border-radius: 28px for the normal fab, and 20px for the small fab, use border-radius: 50%. This will always make the element a circle no matter what the height and width is.
  • Loading branch information
CarlosJeurissen committed Jul 25, 2014
1 parent 09cedac commit db68eab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions paper-fab.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
width: 56px;
height: 56px;
background: #d23f31;
border-radius: 28px;
border-radius: 50%;
fill: #fff;
}

:host(.mini) {
width: 40px;
height: 40px;
border-radius: 20px;
}

:host /deep/ #focusBg {
Expand Down

0 comments on commit db68eab

Please sign in to comment.