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

Unified Diff: chrome/browser/resources/print_preview/search/destination_list_item.css

Issue 158983004: Change destination item layout to accomodate longer destination names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | chrome/browser/resources/print_preview/search/destination_list_item.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/search/destination_list_item.css
diff --git a/chrome/browser/resources/print_preview/search/destination_list_item.css b/chrome/browser/resources/print_preview/search/destination_list_item.css
index 9fd7a0698cb37866f6580baa604dc13ded1e0a3e..6ac5a32dc9a4bbeade9aa339c2c4d2ee96b3e6a0 100644
--- a/chrome/browser/resources/print_preview/search/destination_list_item.css
+++ b/chrome/browser/resources/print_preview/search/destination_list_item.css
@@ -19,25 +19,39 @@
opacity: 0.4;
}
+.destination-list-item-content {
+ display: flex;
+}
+
.destination-list-item-icon {
-webkit-margin-end: 8px;
-webkit-transition: opacity 150ms;
display: inline-block;
+ flex: 0 0 auto;
height: 24px;
vertical-align: middle;
width: 24px;
}
.destination-list-item-name {
+ flex: 0 1 auto;
+ line-height: 24px;
+ overflow: hidden;
+ text-overflow: ellipsis;
vertical-align: middle;
+ white-space: nowrap;
}
.destination-list-item .offline-status {
-webkit-margin-start: 1em;
+ flex: 0 0 auto;
font-size: 75%;
+ line-height: 24px;
opacity: 0.6;
+ vertical-align: middle;
}
.register-promo {
-webkit-margin-start: 1em;
+ flex: 0 0 auto;
}
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview/search/destination_list_item.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698