commit | 32f10a2b832b58689e2456c0da9eb335ba85436c | [log] [tgz] |
---|---|---|
author | Erik Chen <erikchen@chromium.org> | Tue May 16 01:02:40 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 16 01:02:40 2023 |
tree | 29a30fa2f533e70421f1ba023959157ad474fcc9 | |
parent | e2ff2a4a2d7db49de89b13e9858d750fc3fb341e [diff] |
cr-elements: Uniform padding for buttons in cr-dialog. In situations where the the button-container border is visible, non-uniform padding for cr-buttons results in off-center buttons. This CL modifies the default padding to be a uniform 16px. This CL fixes the layout for credit_card_edit_dialog.html as it was overriding the button padding with non-uniform padding, which resulted in the problem noted above. I manually verified that this also fixes a similar issue for chrome://settings/addresses. This CL will induce a small (8px) vertical layout shift cr-buttons in button-containers for other WebUI surfaces. Fixed: 1403663 Change-Id: I6dac729c0f3c9a3ffaff7af77851f2ed49139a58 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4482616 Reviewed-by: John Lee <johntlee@chromium.org> Commit-Queue: Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1144502}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.