Skip to content

Commit

Permalink
[4.0] RTL: Correcting Admin login 2factor and feedback hints (#36024)
Browse files Browse the repository at this point in the history
This is a replacement to the merged PR #32104

It does exactly the same thing but by using css logical properties we avoid the need to maintain both an LTR and an RTL version[4.0]

There is no visual change
  • Loading branch information
brianteeman authored Jan 2, 2022
1 parent 267cfa4 commit c48d7a7
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions administrator/templates/atum/scss/blocks/_login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,30 +84,18 @@

.form-control-feedback {
position: absolute;
right: 0;
inset-inline-end: 0;
bottom: -1.5rem;
font-size: ($font-size-base * .75);
text-align: right;

[dir=rtl] & {
right: auto;
left: 0;
text-align: left;
}
text-align: end;
}

.form-control-hint {
position: absolute;
top: .1rem;
right: 0;
inset-inline-end: 0;
font-size: ($font-size-base * .75);
text-align: right;

[dir=rtl] & {
right: auto;
left: 0;
text-align: left;
}
text-align: end;
}
}

Expand Down

0 comments on commit c48d7a7

Please sign in to comment.