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

Unified Diff: chrome/browser/resources/print_preview/settings/destination_settings.css

Issue 660733006: Change destination selection layout to accomodate for bigger font sizes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/settings/destination_settings.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/settings/destination_settings.css
diff --git a/chrome/browser/resources/print_preview/settings/destination_settings.css b/chrome/browser/resources/print_preview/settings/destination_settings.css
index 627854a449171ff01a314a7e76045a519b2b509e..31fe304dbb668eb2715f640a7e415be35e2970f6 100644
--- a/chrome/browser/resources/print_preview/settings/destination_settings.css
+++ b/chrome/browser/resources/print_preview/settings/destination_settings.css
@@ -16,7 +16,7 @@
#destination-settings .destination-settings-box {
-webkit-box-align: center;
display: -webkit-box;
- height: 28px;
+ min-height: 28px;
}
.destination-settings-box.stale {
@@ -36,17 +36,11 @@
.destination-settings-info-wrapper {
-webkit-box-flex: 1;
- height: 28px;
- position: relative;
}
.destination-settings-info {
- -webkit-box-orient: vertical;
- -webkit-box-pack: center;
- display: -webkit-box;
- height: 100%;
- position: absolute;
- white-space: nowrap;
+ display: table;
+ table-layout: fixed;
width: 100%;
}
@@ -56,7 +50,7 @@
}
.throbber-container .throbber {
- -webkit-margin-end: 8px;
+ -webkit-margin-end: 8px;
}
.destination-throbber-name-container {
@@ -64,23 +58,30 @@
-webkit-box-orient: vertical;
-webkit-box-pack: center;
display: -webkit-box;
- height: 28px;
+ min-height: 28px;
}
-.destination-settings-name,
.destination-throbber-name {
font-size: 110%;
overflow: hidden;
text-overflow: ellipsis;
}
-.destination-settings-location {
- opacity: 0.4;
- overflow: hidden;
- text-overflow: ellipsis;
+.destination-settings-info > div {
+ display: table-row;
}
-.destination-settings-offline-status {
+.destination-settings-info > div > div {
+ display: table-cell;
overflow: hidden;
text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.destination-settings-name {
+ font-size: 110%;
+}
+
+.destination-settings-location {
+ opacity: 0.4;
}
« no previous file with comments | « no previous file | chrome/browser/resources/print_preview/settings/destination_settings.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698