Skip to content

Commit abe0dca

Browse files
committed
Fix RTL connected accounts alignment.
1 parent 41c0c35 commit abe0dca

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/generic_ui/polymer/settings.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
font-size: 14px;
3838
font-weight: 400;
3939
}
40-
.userInfo .subdued::first-line {
41-
line-height: 24px;
42-
}
4340
.userInfo .subdued {
4441
opacity: 0.54;
4542
font-size: 13px;
@@ -163,11 +160,10 @@
163160
</div>
164161

165162
<div class='clickable currentAccountInfo' on-tap='{{ toggleAccountChooser }}'>
166-
<div horizontal layout>
163+
<div horizontal center layout>
167164
<span class='subdued' flex>{{ connectedNetworks }}</span>
168-
<span hidden?='{{ model.onlineNetworks.length === 1 }}'>
169-
<core-icon icon='arrow-drop-down' hidden?='{{ accountChooserOpen }}'></core-icon>
170-
<core-icon icon='arrow-drop-up' hidden?='{{ !accountChooserOpen }}'></core-icon>
165+
<core-icon icon='arrow-drop-down' hidden?='{{ model.onlineNetworks.length === 1 || accountChooserOpen }}'></core-icon>
166+
<core-icon icon='arrow-drop-up' hidden?='{{ model.onlineNetworks.length === 1 || !accountChooserOpen }}'></core-icon>
171167
</span>
172168
</div>
173169

0 commit comments

Comments
 (0)