Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Issue 2661533002: MD Settings: fix settings-toggle-button label text overflow. (Closed)

Created:
3 years, 11 months ago by scottchen
Modified:
3 years, 10 months ago
Reviewers:
Dan Beam
CC:
arv+watch_chromium.org, chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, stevenjb+watch-md-settings_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: fix settings-toggle-button label text overflow. This is to fix appearance page's "[Show home button] long URLs breaks page" bug. Once this lands, consumers of settings-toggle-button will be able to specify label-class and sub-label-class to be passed in and applied to the label elements. BUG=684152 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2661533002 Cr-Commit-Position: refs/heads/master@{#446856} Committed: https://chromium.googlesource.com/chromium/src/+/fafa62de998f555b86b12040d2c776297aa38567

Patch Set 1 #

Patch Set 2 : do text-elide and no-min-width in a cleaner way #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -6 lines) Patch
M chrome/browser/resources/settings/appearance_page/appearance_page.html View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/controls/settings_toggle_button.html View 1 2 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/controls/settings_toggle_button.js View 1 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_shared_css.html View 1 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/resources/settings/settings_vars_css.html View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
scottchen
The ultimate goal is to get .text-elide onto the labels. And also for that to ...
3 years, 11 months ago (2017-01-27 01:01:16 UTC) #3
Dan Beam
FIRST, we should probably make this text-elide stuff more composable, as in: split the text ...
3 years, 11 months ago (2017-01-27 01:40:25 UTC) #4
scottchen
On 2017/01/27 01:40:25, Dan Beam wrote: > FIRST, we should probably make this text-elide stuff ...
3 years, 10 months ago (2017-01-27 17:59:27 UTC) #5
scottchen
@dbeam your suggestion worked great: http://imgur.com/a/TvL5n. So clean! love it.
3 years, 10 months ago (2017-01-27 22:19:50 UTC) #6
dpapad
On 2017/01/27 at 22:19:50, scottchen wrote: > @dbeam your suggestion worked great: http://imgur.com/a/TvL5n. So clean! ...
3 years, 10 months ago (2017-01-27 22:22:19 UTC) #7
Dan Beam
sweeeet! lgtm you could attempt to write a test for this. i've previously done it ...
3 years, 10 months ago (2017-01-27 22:49:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2661533002/20001
3 years, 10 months ago (2017-01-27 23:07:16 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-01-28 00:46:14 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/fafa62de998f555b86b12040d2c7...

Powered by Google App Engine
This is Rietveld 408576698