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

Unified Diff: ui/file_manager/file_manager/foreground/css/drive_welcome.css

Issue 377383007: Clip texts on drive banner using ellipsis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/css/drive_welcome.css
diff --git a/ui/file_manager/file_manager/foreground/css/drive_welcome.css b/ui/file_manager/file_manager/foreground/css/drive_welcome.css
index c8e2f044dfbab4b364de33d9b700162a80bc6a36..49776cdb9544e6fe2bea9dab08016797f39ca64b 100644
--- a/ui/file_manager/file_manager/foreground/css/drive_welcome.css
+++ b/ui/file_manager/file_manager/foreground/css/drive_welcome.css
@@ -96,6 +96,7 @@
.drive-welcome.header .drive-welcome-icon {
background-position: center 18px;
background-size: 51px 44px;
+ flex: none;
fukino 2014/07/10 01:06:45 Without "flex: none", the drive welcome icon shrin
width: 120px;
}
@@ -109,10 +110,16 @@
font-size: 140%;
margin-bottom: 4px;
margin-top: 14px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.drive-welcome.header .drive-welcome-text {
margin-bottom: 6px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.drive-welcome.header .drive-welcome-dismiss {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698