PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar joomleb
joomleb
29 Nov 2023

Hi guys,
this is the sequel of #42368
As detailed here #42368 (comment)

From my point of view "no predefined spacing attribute class" is better then "pe-2" class (or me-2).
Sure, it cannot be "p-2"

avatar joomleb joomleb - open - 29 Nov 2023
avatar joomleb joomleb - change - 29 Nov 2023
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Nov 2023
Category Modules Front End
avatar brianteeman
brianteeman - comment - 29 Nov 2023

You also need to make the same change in templates\cassiopeia\html\mod_menu

avatar joomleb joomleb - change - 29 Nov 2023
Labels Added: PR-4.4-dev
avatar joomla-cms-bot joomla-cms-bot - change - 29 Nov 2023
Category Modules Front End Modules Front End Templates (site)
avatar joomleb joomleb - change - 29 Nov 2023
The description was changed
avatar joomleb joomleb - edited - 29 Nov 2023
avatar joomleb joomleb - change - 29 Nov 2023
The description was changed
avatar joomleb joomleb - edited - 29 Nov 2023
avatar alikon
alikon - comment - 29 Nov 2023

if this pr fix #42368
please close #42368

avatar joomleb
joomleb - comment - 29 Nov 2023

@alikon It should :)

avatar alikon
alikon - comment - 29 Nov 2023

thx

avatar Quy
Quy - comment - 6 Dec 2023

Before PR:
42415-before

After PR:
42415-after

It does look better, however, there is no spacing after the icon which will be an issue for existing sites to update each icon with padding.
@chmst Do you have a suggestion since it is from your PR #34658?

I doubt this will be included in v4.4 since it is not a bug per se. @MacJoom

avatar joomleb
joomleb - comment - 6 Dec 2023

@Quy
from my point of view, when a Joomla user is setting the
"Menu Item > Link Type > Link Icon class: ..."
he can add what he wants for spacing the icon: a "pe-2" class or "me-2", "p-2" etc.
So, to add a fixed class in the code it is not a must. To leave it empty means more freedom during the setting.
OR
Anyway, it should be a "pe-2" class and, sure, it cannot be "p-2" attribute class.

avatar Quy
Quy - comment - 6 Dec 2023

Changing to pe-2 would be a better option, otherwise, a padding class must be added to each icon which is not obvious to do without a help description to mention this.

avatar joomleb
joomleb - comment - 2 Jan 2024

Hi guys,
so, What is the decision here ?

avatar Quy
Quy - comment - 2 Jan 2024

What is your decision as you have not replied to my last comment?

avatar Hackwar
Hackwar - comment - 21 Feb 2024

Can you fix this, so that we can test this during PBF?

avatar HLeithner HLeithner - change - 24 Apr 2024
Title
Link Icon class spacing
[4.4] Link Icon class spacing
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar fgsw
fgsw - comment - 9 Aug 2024

@joomleb i wanted to test this PR but reading above comments by @Quy and @Hackwar stopped me.

Add a Comment

Login with GitHub to post a comment