Index: chrome/browser/resources/md_history/synced_device_card.html |
diff --git a/chrome/browser/resources/md_history/synced_device_card.html b/chrome/browser/resources/md_history/synced_device_card.html |
index 9fa197502c79e0ad4c47adfecc66ea0b07a07c05..ff6329f0ba07518f0a91c3167974aa931a109cc6 100644 |
--- a/chrome/browser/resources/md_history/synced_device_card.html |
+++ b/chrome/browser/resources/md_history/synced_device_card.html |
@@ -20,6 +20,7 @@ |
} |
#card-heading { |
+ -webkit-padding-end: 0; |
cursor: pointer; |
justify-content: space-between; |
} |
@@ -32,6 +33,17 @@ |
color: var(--secondary-text-color); |
} |
+ #title-left-content { |
+ display: flex; |
+ overflow: hidden; |
+ } |
+ |
+ #device-name { |
+ overflow: hidden; |
+ padding-right: 3px; |
+ text-overflow: ellipsis; |
+ } |
+ |
#right-buttons { |
-webkit-margin-end: 4px; |
} |
@@ -67,8 +79,10 @@ |
<div id="history-item-container"> |
<div class="card-title" id="card-heading" aria-expanded$="[[opened]]" |
aria-controls="collapse" on-tap="toggleTabCard"> |
- <div> |
- [[device]] |
+ <div id="title-left-content"> |
+ <div id="device-name"> |
+ [[device]] |
+ </div> |
<span id="last-update-time">[[lastUpdateTime]]</span> |
</div> |
<div id="right-buttons"> |