Switch to a rtl language (Ex:-Persian)
Go to dashboard and press on the add modules button
You can notice the icon for close is not properly placed
The icon should be placed more to the right
Ubuntu 18.04(Virtual Machine) PHP-7.2.24
Labels |
Added:
?
|
It should be easy
we have for rtl
.btn.btn-danger [class*=" fa-"],
.btn.btn-danger [class*=" icon-"],
.btn.btn-danger [class^=fa-],
.btn.btn-danger [class^=icon-],
.btn.btn-danger span {
background-color: var(--danger);
color: hsla(0, 0%, 100%, .9);
display: inline-block;
width: 2.375rem;
height: 100%;
margin: 0 16px 0 -22px;
line-height: 2.375rem;
}
.btn.btn-success [class*=" fa-"],
.btn.btn-success [class*=" icon-"],
.btn.btn-success [class^=fa-],
.btn.btn-success [class^=icon-],
.btn.btn-success span {
background-color: var(--success);
color: hsla(0, 0%, 100%, .9);
display: inline-block;
width: 2.375rem;
height: 100%;
margin: 0 16px 0 -22px;
line-height: 2.375rem;
}
We have to add a [dir=rtl] & {
where the margin is
margin: 0 -22px 0 16px;
for both
Status | New | ⇒ | Confirmed |
@Subhang23
Are you going to make this specific PR?
I will be doing it. I actually made a mistake with the branches.
Thanks. Please limit your changes to this issue and please test #27841 which solves mobile alignment.
@infograf768 I don't understand what I should do here.
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-10 18:32:25 |
Closed_By | ⇒ | Quy |
I would like to work on this