• estade@chromium.org's avatar
    [webui] fix vertical alignment of buttons and text inputs · 9fb749a3
    estade@chromium.org authored
    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)
    
    
    Review URL: http://codereview.chromium.org/9689048
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126796 0039d316-1c4b-4281-b951-d872f2087c98
    9fb749a3
history.js 34.8 KB