Commit aede939b authored by Shane Fitzpatrick's avatar Shane Fitzpatrick Committed by Chromium LUCI CQ

[Nearby] Allow share target device name UI to word wrap

I also removed the line clamp since the max name you can set the device to will be shown on 3 lines (screenshot).  With the line clamp, more characters get replaced with '...'.  Happy to revert though.

Fixed: 1161289
Change-Id: I9ce43875a62f044bb0c6060af8b135b0ff85fe1b
Screenshot: https://screenshot.googleplex.com/8u4NqQjsQ2L6dpq
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2645040Reviewed-by: default avatarJosh Nohle <nohle@chromium.org>
Commit-Queue: Shane Fitzpatrick <shanefitz@google.com>
Cr-Commit-Position: refs/heads/master@{#846414}
parent db84abe0
......@@ -10,12 +10,12 @@
<style>
#device-name {
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
color: rgba(0, 0, 0, 0.87);
display: -webkit-box;
letter-spacing: 0.25px;
line-height: 154%;
overflow: hidden;
overflow-wrap: break-word;
text-align: center;
width: 116px;
}
......
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