User tests: Successful: Unsuccessful:
Rewrites Atums CSS for the alert custom element. Streamlines the CSS and removes the import from upstream.
I don't know if these changes should be made upstream or not. I just went for the easier option.
Apply pr and run node build.js --compile-css
to update SCSS. Check alerts display correctly.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Templates (admin) |
Labels |
Added:
?
|
Ok. So there is 2 different styles of alerts in the same UI.
I've added back in the import. Should be fine now.
I have tested this item
Alert messages look good and functionality remains for the rest of the CMS.
The issue comes from
html[dir=rtl] joomla-alert .joomla-alert--close,
html[dir=rtl] joomla-alert .joomla-alert-button--close {
right: auto;
left: -1.25rem;
float: left; }
which is added by
/node_modules/joomla-ui-custom-elements/dist/css/joomla-alert.css
Also, compiling instead of creating
[dir=rtl] #system-message-container joomla-alert .joomla-alert--close,
[dir=rtl] #system-message-container joomla-alert .joomla-alert-button--close {
right: auto;
left: 0; }
Creates
#system-message-container joomla-alert .joomla-alert--close [dir=rtl],
#system-message-container joomla-alert .joomla-alert-button--close [dir=rtl] {
right: auto;
left: 0; }
which anyway can't work...
Thx @infograf768. Missing a &
.. b473ffc
Should be fine now.
I have tested this item
RTL solved.
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-04-12 14:23:30 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Installing sample data:
BEFORE:
AFTER: