? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
5 Jan 2020

We had an override for MR-2 (margin right) but not for ML-2 (margin left)

This can be seen on the admin login screen

Before LTR

image

Before RTL

image

After LTR

image

After RTL

image

avatar brianteeman brianteeman - open - 5 Jan 2020
avatar brianteeman brianteeman - change - 5 Jan 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Jan 2020
Category Administration Templates (admin)
3c2017e 5 Jan 2020 avatar brianteeman cs
avatar brianteeman brianteeman - change - 5 Jan 2020
Labels Added: ?
avatar Quy Quy - test_item - 5 Jan 2020 - Tested successfully
avatar Quy
Quy - comment - 5 Jan 2020

I have tested this item successfully on 3c2017e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27409.

avatar jwaisner jwaisner - test_item - 5 Jan 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 5 Jan 2020

I have tested this item successfully on 3c2017e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27409.

avatar Quy Quy - change - 5 Jan 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 5 Jan 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27409.

avatar Quy Quy - change - 6 Jan 2020
Labels Added: ?
avatar Quy Quy - change - 6 Jan 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-01-06 03:25:43
Closed_By Quy
avatar Quy Quy - close - 6 Jan 2020
avatar Quy Quy - merge - 6 Jan 2020
avatar infograf768
infograf768 - comment - 7 Jan 2020

@brianteeman @Quy
This has created an issue as ml-2 is not only used for the login.
ml-2 is used instead of mr-2 for RTL in chromes/well.php
$margin = Factory::getLanguage()->isRtl() ? ' ml-2' : ' mr-2';

Therefore
margin-left: 0 !important; is wrong as we get
Screen Shot 2020-01-07 at 07 46 48

instead of
Screen Shot 2020-01-07 at 07 48 20

Maybe we should change $margin in well.php to
$margin = ' mr-2';

or delete that line and use directly
$headerIcon = '<span class="' . htmlspecialchars($params->get('header_icon')) . ' mr-2" aria-hidden="true"></span>';

What do you think?

avatar infograf768
infograf768 - comment - 7 Jan 2020

NOTE:

Also I remark that a lot of classes are NOT present in installation template-rtl.scss to override those in template.scss, including a ml-2...

This has never been tested. It is a release blocker. Will create an issue.
A possible solution could be to import atum/scss/template-rtl.scss, but not sure.

avatar brianteeman
brianteeman - comment - 7 Jan 2020

ML-2 and MR-2 are utility classes and their values in the RTL css are now correct. If there are now other issues being observed as a result of correcting those utility classes the problem is in the other classes not in these

avatar infograf768
infograf768 - comment - 7 Jan 2020

As I demonstrated, #27409 (comment), classes are not concerned in this case.
We have to modify the chrome.
Will make a PR.

Add a Comment

Login with GitHub to post a comment