1
mirror of https://github.com/pure-css/pure synced 2024-12-25 05:23:43 +01:00

Update Buttons to use padding: 0.5em 1em

This commit is contained in:
Eric Ferraiuolo 2013-11-25 16:01:28 -05:00
parent e3127820b8
commit d644d16a7d
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,8 @@ NEXT
`font-family: inherit;` has been added to the `.pure-button` selector to `font-family: inherit;` has been added to the `.pure-button` selector to
normalize the difference in height. ([#221][] @narcis-radu) normalize the difference in height. ([#221][] @narcis-radu)
* Buttons now have uniform `padding` on all four sides. ([#191][] @achalv) * Buttons now have visually uniform default `padding` on all four sides. The
left/right padding is 2x the top/bottom padding. ([#191][] @achalv)
### Forms ### Forms

View File

@ -5,7 +5,7 @@
font-size: 100%; font-size: 100%;
*font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/ *font-size: 90%; /*IE 6/7 - To reduce IE's oversized button text*/
*overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */ *overflow: visible; /*IE 6/7 - Because of IE's overly large left/right padding on buttons */
padding: 0.5em; padding: 0.5em 1em;
color: #444; /* rgba not supported (IE 8) */ color: #444; /* rgba not supported (IE 8) */
color: rgba(0, 0, 0, 0.80); /* rgba supported */ color: rgba(0, 0, 0, 0.80); /* rgba supported */
*color: #444; /* IE 6 & 7 */ *color: #444; /* IE 6 & 7 */