Chrome Settings: minor fix to settings_toggle_button padding
When using a settings-toggle-button with a sub-label whose contents can fit into one or two lines depending on screen resolution, there was no way to get consistent vertical padding. This change explicitly sets padding inside of the settings_toggle_button's outerRow element in order to guarantee padding for the item. This has the negative side-effect of causing the settings-toggle-button to expand vertically if the window is resized such that the sub-label text overflows to a new line. Bug: 803683 Cq-Include-Trybots: luci.chromium.try:closure_compilation Change-Id: Iff644e6efb4aa293f4ae41e9035a961578d576f0 Reviewed-on: https://chromium-review.googlesource.com/1133300Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: proberge <proberge@chromium.org> Cr-Commit-Position: refs/heads/master@{#574423}
Showing
Please register or sign in to comment