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

Unified Diff: chrome/browser/resources/md_history/shared_style.html

Issue 2318343004: MD History: Truncate long search terms in card title box (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/md_history/history_item.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/shared_style.html
diff --git a/chrome/browser/resources/md_history/shared_style.html b/chrome/browser/resources/md_history/shared_style.html
index 45c56d565c005271d108f08c8b7b6b8d3d4742e8..6fe66362c3fc567c44599c9222c051125d721976 100644
--- a/chrome/browser/resources/md_history/shared_style.html
+++ b/chrome/browser/resources/md_history/shared_style.html
@@ -8,6 +8,7 @@
}
.card-title {
+ -webkit-padding-end: 20px;
tsergeant 2016/09/12 23:14:33 When you have multiple paddings/margins that are t
lshang 2016/09/13 05:08:45 Done.
-webkit-padding-start: 20px;
align-items: center;
border-bottom: 1px solid var(--card-border-color);
@@ -17,6 +18,10 @@
font-size: 14px;
font-weight: 500;
height: 48px;
+ line-height: 48px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.centered-message {
« no previous file with comments | « chrome/browser/resources/md_history/history_item.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698