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

Issue 2825403003: WebUI: Improve calculation of md-select text and arrow spacing. (Closed)

Created:
3 years, 8 months ago by dpapad
Modified:
3 years, 8 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, oshima+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

WebUI: Fix calculation of md-select text and arrow spacing. Previous calculation was not properly taking into account the position of the arrow. New calculation ensures that there is always some white space between the arrow and the text. BUG=693698, 710802 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2825403003 Cr-Commit-Position: refs/heads/master@{#465800} Committed: https://chromium.googlesource.com/chromium/src/+/25e4011a30bc7e0cbb2912ea1fe47defefa606f8

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add missing period. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M ui/webui/resources/html/md_select_css.html View 1 2 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
dpapad
Before/after screenshots at http://imgur.com/a/e0LFT.
3 years, 8 months ago (2017-04-19 20:35:49 UTC) #4
stevenjb
On 2017/04/19 20:35:49, dpapad wrote: > Before/after screenshots at http://imgur.com/a/e0LFT. I don't love that we ...
3 years, 8 months ago (2017-04-19 20:39:43 UTC) #7
dpapad
On 2017/04/19 at 20:39:43, stevenjb wrote: > On 2017/04/19 20:35:49, dpapad wrote: > > Before/after ...
3 years, 8 months ago (2017-04-19 20:41:37 UTC) #8
Dan Beam
lgtm because it's an improvement https://codereview.chromium.org/2825403003/diff/1/ui/webui/resources/html/md_select_css.html File ui/webui/resources/html/md_select_css.html (right): https://codereview.chromium.org/2825403003/diff/1/ui/webui/resources/html/md_select_css.html#newcode15 ui/webui/resources/html/md_select_css.html:15: /* The offset of ...
3 years, 8 months ago (2017-04-19 21:16:11 UTC) #9
dpapad
This fixes crbug.com/710802 too, see http://imgur.com/a/s5BuK.
3 years, 8 months ago (2017-04-19 21:51:08 UTC) #13
dpapad
https://codereview.chromium.org/2825403003/diff/1/ui/webui/resources/html/md_select_css.html File ui/webui/resources/html/md_select_css.html (right): https://codereview.chromium.org/2825403003/diff/1/ui/webui/resources/html/md_select_css.html#newcode15 ui/webui/resources/html/md_select_css.html:15: /* The offset of the arrow from the end ...
3 years, 8 months ago (2017-04-19 21:53:22 UTC) #16
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/2825403003/20001
3 years, 8 months ago (2017-04-19 21:54:53 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 23:04:17 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/25e4011a30bc7e0cbb2912ea1fe4...

Powered by Google App Engine
This is Rietveld 408576698