Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #22499 from pivanov/bug-1037146
Browse files Browse the repository at this point in the history
The "show password" check box in the wifi connection details page in the FTU app is cut off on the right edge in RTL mode and label is cut off too
  • Loading branch information
Pavel Ivanov committed Aug 14, 2014
2 parents d6c7edf + bb911ea commit f672a2b
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions apps/ftu/style/style.css
Expand Up @@ -468,7 +468,7 @@ aside.connecting {
#hidden-wifi-authentication .pack-checkbox,
#configure_network_params .pack-checkbox {
position: relative;
transform: translateX(4rem);
left: auto;
padding: 1rem 0 1rem 3rem;
pointer-events: auto;
}
Expand Down Expand Up @@ -1120,11 +1120,16 @@ i.hack-first-child {
/*
RTL Tweeks
*/
html[dir="rtl"] #hidden-wifi-authentication .pack-checkbox,
html[dir="rtl"] #configure_network_params .pack-checkbox {
padding-right: 3rem;
padding-left: 3rem;
}

/* Right to left: position the check mark to the left */
html[dir="rtl"] [data-type="list"].pack-value-selector li label:not([for]) input + span:after {
left: 0;
margin-left: auto;
html[dir="rtl"] #hidden-wifi-authentication .pack-checkbox input ~ span:after,
html[dir="rtl"] #configure_network_params .pack-checkbox input ~ span:after {
right: 0;
margin-right: 0;
}

html[dir="rtl"] #welcome_browser #form_share_statistics label {
Expand Down

0 comments on commit f672a2b

Please sign in to comment.