[wp-meta] [Making WordPress.org] #513: Submit button in Rosetta contact forms has incorrect padding
Making WordPress.org
noreply at wordpress.org
Sun Jul 27 19:18:16 UTC 2014
#513: Submit button in Rosetta contact forms has incorrect padding
-----------------------------+-------------------------------------------
Reporter: SergeyBiryukov | Owner:
Type: defect | Status: new
Priority: normal | Component: International Sites (Rosetta)
Resolution: | Keywords:
-----------------------------+-------------------------------------------
Comment (by iamfriendly):
Fix line-height in buttons by making them unitless.
As per http://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
and http://css-tricks.com/almanac/properties/l/line-height/ line-heights
are generally best left to be unitless. This especially applies to
elements such as buttons where there's nothing to inherit.
The attached patch overrides the buttons css that is set in wp4.css
(including the same selectors that that file sets)
In terms of font-size (and padding) I'm going to submit a separate patch
as that needs to handle over-riding a different selector as that uses an
ID.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/513#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list