md-select misaligned due to md-select-underline |
||
Issue descriptionIt seems like most (all?) md-select are not aligned properly with their label. The issue is that md-select-underline has a height of 3px, which shifts the md-select up by 1.5px when centered. Screenshots from chrome://settings and chrome://settings/clearBrowsingData
,
Jul 17 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e9f72053995eec1a97ac3cef567ca65e7414f29a commit e9f72053995eec1a97ac3cef567ca65e7414f29a Author: Christian Dullweber <dullweber@chromium.org> Date: Mon Jul 17 10:56:13 2017 Fix unbalanced md-select is not centered md-select is not aligned with its label due to unbalanced paddings and a 3px md-select-underline. This Cl fixes this by balancing md-select with an additional margin-top and reducing the height of md-select-underline to 0px + 1px border. Bug: 740887 Change-Id: I1b8a5b6bea9c30a686427fdffb96ee05df686259 Reviewed-on: https://chromium-review.googlesource.com/566826 Commit-Queue: Christian Dullweber <dullweber@chromium.org> Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#487040} [modify] https://crrev.com/e9f72053995eec1a97ac3cef567ca65e7414f29a/chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html [modify] https://crrev.com/e9f72053995eec1a97ac3cef567ca65e7414f29a/ui/webui/resources/html/md_select_css.html
,
Jul 21 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by dullweber@chromium.org
, Jul 11 2017