Skip to content

Commit

Permalink
[NTP Quests] Add min width for timestamp
Browse files Browse the repository at this point in the history
Added a min-width to timestamp so it never breaks into 2 lines.

Screenshot:
http://screenshot/4XiPMheh4DhJSPf

(cherry picked from commit a86538d)

Bug: 1427602
Change-Id: I714f782cbbcb74cadf2ddcd1fb23fca80dab7ed3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4369344
Reviewed-by: Roman Arora <romanarora@chromium.org>
Commit-Queue: Marlon Facey <mfacey@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1121899}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4370725
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Marlon Facey <mfacey@chromium.org>
Commit-Queue: Roman Arora <romanarora@chromium.org>
Cr-Commit-Position: refs/branch-heads/5672@{#37}
Cr-Branched-From: 5f2a724-refs/heads/main@{#1121455}
  • Loading branch information
Marlon Facey authored and Chromium LUCI CQ committed Mar 27, 2023
1 parent ee3690b commit 7a6b57d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@
position: relative;
}

#date {
min-width: max-content;
}

:host([large-format]) #label {
max-width: 220px;
}
Expand Down

0 comments on commit 7a6b57d

Please sign in to comment.