? ?
avatar PhilETaylor
PhilETaylor
2 Feb 2021

Steps to reproduce the issue

Create a contact in 4.0b7 admin and link it to a menu item
View that contact on the frontend

Expected result

The address is aligned with the icon

Actual result

Screenshot 2021-02-02 at 20 41 11

System information (as much as possible)

safari on mac

avatar PhilETaylor PhilETaylor - open - 2 Feb 2021
avatar joomla-cms-bot joomla-cms-bot - change - 2 Feb 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Feb 2021
avatar drmenzelit
drmenzelit - comment - 6 Feb 2021

That is an expected behaviour, the address is a description list, with the icon being the <dt> element. If you choose to show text instead of icons, it looks like this:
grafik

avatar Harmageddon
Harmageddon - comment - 9 Feb 2021

Hmm... While I agree that this is the default behaviour of dl elements, I'd say it is not expected like this at this point. Looking at the source code, I find a "dl-horizontal". Since Bootstrap 4, this has no effect anymore:

.dl-horizontal has been dropped. Instead, use .row on <dl> and use grid column classes (or mixins) on its <dt> and <dd> children.

https://getbootstrap.com/docs/4.5/migration/#typography

So we should come up with our own implementation for dl-horizontal (or drop it from core, if we decide that it is not needed anywhere).

avatar ciar4n ciar4n - change - 9 Mar 2021
Labels Added: ?
avatar ciar4n ciar4n - labeled - 9 Mar 2021
avatar RickR2H
RickR2H - comment - 11 May 2021

Added a PR #33780 to fix it for now. Please test.

avatar alikon alikon - change - 11 May 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-05-11 17:09:20
Closed_By alikon
avatar alikon alikon - close - 11 May 2021
avatar alikon
alikon - comment - 11 May 2021

please test #33780

Add a Comment

Login with GitHub to post a comment