Skip to content

Keep user.css last in order#38368

Merged
fancyFranci merged 2 commits intojoomla:4.2-devfrom
Fedik:user-css-as-last
Sep 6, 2022
Merged

Keep user.css last in order#38368
fancyFranci merged 2 commits intojoomla:4.2-devfrom
Fedik:user-css-as-last

Conversation

@Fedik
Copy link
Copy Markdown
Member

@Fedik Fedik commented Aug 1, 2022

Pull Request for Issue #38345 .

Summary of Changes

Currently user.css loaded after template.css. however the modules css goes after.
This patch make user.css to be as last css in loaded stylesheets, as long as it not violate any dependency.

Testing Instructions

Apply patch. Create user.css.
Inspect the source page for list of loaded stylesheets. Check that user.css is last in the list.
Also follow #38345

Actual result BEFORE applying this Pull Request

Not always last, when there a module css.

Expected result AFTER applying this Pull Request

Always last

Documentation Changes Required

No, I guess.

@PhocaCz
Copy link
Copy Markdown
Contributor

PhocaCz commented Aug 1, 2022

I have tested this item ✅ successfully on 0ef84ef


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

1 similar comment
@RickR2H
Copy link
Copy Markdown
Member

RickR2H commented Aug 1, 2022

I have tested this item ✅ successfully on 0ef84ef


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

@RickR2H
Copy link
Copy Markdown
Member

RickR2H commented Aug 1, 2022

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 1, 2022
@n3t
Copy link
Copy Markdown
Contributor

n3t commented Aug 1, 2022

I have tested this item ✅ successfully on 0ef84ef


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

@fancyFranci fancyFranci merged commit 0e8ce2d into joomla:4.2-dev Sep 6, 2022
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Sep 6, 2022
@fancyFranci
Copy link
Copy Markdown
Contributor

Thanks Fedik! :)

@fancyFranci fancyFranci added this to the Joomla! 4.2.3 milestone Sep 6, 2022
@Fedik Fedik deleted the user-css-as-last branch September 6, 2022 19:55
Bakual added a commit to Bakual/Allrounder that referenced this pull request Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants