commit | d569a7abdc41abc88d41343682e2e8ee195eacb6 | [log] [tgz] |
---|---|---|
author | Riley Tatum <rtatum@google.com> | Fri Apr 12 16:57:36 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 12 16:57:36 2024 |
tree | f607428b0fdd2826d9f132551bb85ed0670827ed | |
parent | 93f4cbd5648840c384a64aa4c143fa3458b76df8 [diff] |
[Customize] Stop button overflow for color scheme mode When text was too long to fit all of the sections into the button, it would just make the segmented-button-option wider than the overall segmented-button (see bug for example video). To handle this, min-width is set to 0 so the button-option will stop using content as the min-width, causing the button-option to be larger than the button. Also, as discussed in the bug, overflow text will be hidden with ellipsis. Then, full text will be visible via tooltip on hover. Screenshots: 1 long word overflow: http://screenshot/7M6JFwjv6n6xhov multi-word overflow: http://screenshot/BTLSYeY5yyr2XXQ Bug: 41481914 Change-Id: Ied17c40e0c0b0e6a31408aa5eaa76a3fa8b65914 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5445927 Reviewed-by: John Lee <johntlee@chromium.org> Commit-Queue: Riley Tatum <rtatum@google.com> Cr-Commit-Position: refs/heads/main@{#1286555}
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.