Code: Select all
<div class="col-sm-<?= (int)PI_RESPONSIBLE_SOCIAL_BOOKMARKS_CONTENT_WIDTH ?> pi-responsible-social-bookmarks mb-2">
<div class="d-flex justify-content-between">
<h6><?= PI_RESPONSIBLE_SOCIAL_BOOKMARKS_PUBLIC_TITLE ?></h6>
<?= implode('', $pi_sb_bookmarks) ?>
</div>
</div>
Seems to do it....
d-flex justify-content-between only on the parent container. In your version it would be something like;
Code: Select all
<div class="col-sm-<?= (int)PI_RESPONSIBLE_SOCIAL_BOOKMARKS_CONTENT_WIDTH ?> pi-responsible-social-bookmarks mb-2">
<ul class="list-group">
<li class="list-group-item d-flex justify-content-between">
<?= PI_RESPONSIBLE_SOCIAL_BOOKMARKS_PUBLIC_TITLE ?>
<?= implode('', $pi_sb_bookmarks) ?>
</li>
</ul>
</div>
Note that this addon is malformed compared to other PI modules;
1. It is missing col-sm- in the template file
2. It should only have a 12 11 10 9 8 7 6 5 4 3 2 1 selector in the module. It should not have an input for (eg) col-sm-12
I'm not sure when this bug was introduced, it may be there from the start. To solve;
In the module config input box, change from col-sm-12 to 12
In the template make sure you have col-sm- in the first div (as I have shown in the code examples above)
At some point, when I have time, I will get around to fixing the bug.
Strange it's not been noticed by anyone, maybe not many are using this addon.