Commit 77c61090 authored by alekseys's avatar alekseys Committed by Commit bot

Change destination selection layout to accomodate for bigger font sizes.

BUG=421393

Review URL: https://codereview.chromium.org/660733006

Cr-Commit-Position: refs/heads/master@{#300037}
parent 6f315b85
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#destination-settings .destination-settings-box { #destination-settings .destination-settings-box {
-webkit-box-align: center; -webkit-box-align: center;
display: -webkit-box; display: -webkit-box;
height: 28px; min-height: 28px;
} }
.destination-settings-box.stale { .destination-settings-box.stale {
...@@ -36,17 +36,11 @@ ...@@ -36,17 +36,11 @@
.destination-settings-info-wrapper { .destination-settings-info-wrapper {
-webkit-box-flex: 1; -webkit-box-flex: 1;
height: 28px;
position: relative;
} }
.destination-settings-info { .destination-settings-info {
-webkit-box-orient: vertical; display: table;
-webkit-box-pack: center; table-layout: fixed;
display: -webkit-box;
height: 100%;
position: absolute;
white-space: nowrap;
width: 100%; width: 100%;
} }
...@@ -56,7 +50,7 @@ ...@@ -56,7 +50,7 @@
} }
.throbber-container .throbber { .throbber-container .throbber {
-webkit-margin-end: 8px; -webkit-margin-end: 8px;
} }
.destination-throbber-name-container { .destination-throbber-name-container {
...@@ -64,23 +58,30 @@ ...@@ -64,23 +58,30 @@
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-box-pack: center; -webkit-box-pack: center;
display: -webkit-box; display: -webkit-box;
height: 28px; min-height: 28px;
} }
.destination-settings-name,
.destination-throbber-name { .destination-throbber-name {
font-size: 110%; font-size: 110%;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.destination-settings-location { .destination-settings-info > div {
opacity: 0.4; display: table-row;
overflow: hidden;
text-overflow: ellipsis;
} }
.destination-settings-offline-status { .destination-settings-info > div > div {
display: table-cell;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap;
}
.destination-settings-name {
font-size: 110%;
}
.destination-settings-location {
opacity: 0.4;
} }
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
<img class="destination-settings-icon"> <img class="destination-settings-icon">
<div class="destination-settings-info-wrapper"> <div class="destination-settings-info-wrapper">
<div class="destination-settings-info"> <div class="destination-settings-info">
<div class="destination-settings-name"></div> <div><div class="destination-settings-name"></div></div>
<div class="destination-settings-location"></div> <div><div class="destination-settings-location"></div></div>
<div class="destination-settings-offline-status"></div> <div><div class="destination-settings-offline-status"></div></div>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment