Skip to content

Commit

Permalink
Don't emit any border-radius properties if the radius is 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Sep 28, 2009
1 parent ac35c92 commit c65f25f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/_fancy_buttons.sass
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@
!v_padding_active = !v_padding - 1px
!h_padding_active = !h_padding - 1px
+button-reset
+border-radius(!radius)
@if !radius > 0
+border-radius(!radius)
border-width= !border_thickness
font-size= !font_size
padding= !v_padding !h_padding
Expand Down

0 comments on commit c65f25f

Please sign in to comment.