Description[webui] fix vertical alignment of buttons and text inputs
The crux of the problem is that buttons and text inputs are being aligned on their baseline, which I believe is correct. However they place their baseline differently relative to the top and bottom border, so the top and bottom borders wind up misaligned. To correct this, we have to add padding to the buttons and/or text inputs. The amount of padding is platform-specific.
Using vertical-align: (not-baseline) would work, but would make it look bad because the baselines would not align.
BUG=117662
TEST=visual (on win, mac, linux, chromeos)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126796
Patch Set 1 #
Total comments: 8
Patch Set 2 : nits #
Messages
Total messages: 11 (0 generated)
|