Commit ea5e593f authored by Dan Beam's avatar Dan Beam Committed by Commit Bot

Local NTP: make promo max-width slightly wider

R=mahmadi@chromium.org
BUG=969062

Change-Id: Ib07f2a73193cd72f5703315a886c222b7ec7a56e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1808322
Auto-Submit: Dan Beam <dbeam@chromium.org>
Reviewed-by: default avatarMoe Ahmadi <mahmadi@chromium.org>
Commit-Queue: Dan Beam <dbeam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697309}
parent ae415f74
...@@ -754,7 +754,13 @@ html[dir=rtl] #error-notice.has-link #error-notice-msg { ...@@ -754,7 +754,13 @@ html[dir=rtl] #error-notice.has-link #error-notice-msg {
font-size: 12px; font-size: 12px;
line-height: 32px; line-height: 32px;
margin-bottom: 0; margin-bottom: 0;
max-width: 505px; /* TODO(crbug.com/969062): this magic constant would be better implemented as
* real multi-line promo text support or a better QA process to check that
* promo messages aren't ellided. It's ultimately quite hard to make any pixel
* value here useful as font face, sizes, and zoom can all vary. Pushing for
* a more dynamic UI or better qualification process has been met with
* significant resistance, so we keep arbitrarily changing this value. */
max-width: 537px;
overflow: hidden; overflow: hidden;
padding: 0 16px; padding: 0 16px;
pointer-events: all; pointer-events: all;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment