Commit 7420824b authored by mahmadi's avatar mahmadi Committed by Commit bot

A child profile can also be locked. The child and the locked indicators were...

A child profile can also be locked. The child and the locked indicators were not being displayed correctly when appeared together.

http://imgur.com/a/5PyYl

BUG=644836

CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2323813002
Cr-Commit-Position: refs/heads/master@{#417425}
parent c5c5ea87
...@@ -127,14 +127,17 @@ ...@@ -127,14 +127,17 @@
width: 120px; width: 120px;
} }
.pod.locked.child .name-container .name {
width: 92px;
}
.pod .indicator-container { .pod .indicator-container {
bottom: 10px; bottom: 10px;
height: 20px; display: flex;
left: auto; left: auto;
position: absolute; position: absolute;
right: 10px; right: 10px;
top: auto; top: auto;
width: 20px;
} }
html[dir='rtl'] .pod .indicator-container { html[dir='rtl'] .pod .indicator-container {
...@@ -149,7 +152,8 @@ ...@@ -149,7 +152,8 @@
-webkit-mask-size: 16px; -webkit-mask-size: 16px;
background: var(--paper-grey-600); background: var(--paper-grey-600);
display: none; display: none;
height: 100%; height: 20px;
width: 20px;
} }
.pod.locked .locked-indicator { .pod.locked .locked-indicator {
...@@ -157,6 +161,10 @@ ...@@ -157,6 +161,10 @@
display: block; display: block;
} }
.pod.locked.child .locked-indicator {
-webkit-margin-start: 8px;
}
.pod.legacy-supervised .legacy-supervised-indicator { .pod.legacy-supervised .legacy-supervised-indicator {
-webkit-mask-image: -webkit-mask-image:
url(../../../../ui/webui/resources/images/supervisor_account.svg); url(../../../../ui/webui/resources/images/supervisor_account.svg);
......
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