PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar stell
stell
25 Aug 2023

Summary of Changes

Possibility to make the bootstrap modal component more flexible by adding classes to modal-dialog described here:
https://getbootstrap.com/docs/5.3/components/modal/

Nothing changes if not used.

Testing Instructions

echo HTMLHelper::_(
    'bootstrap.renderModal',
    'log-1',
    ['title'  => 'Title', 'modalDialogClass' => 'modal-dialog-centered modal-xl modal-dialog-scrollable'],
    '<div class="p-3"><div class="row"><div>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</div></div></div>'
);

Actual result BEFORE applying this Pull Request

hardcoded modal layout classes

Expected result AFTER applying this Pull Request

vertically centered, scrollable inside and wider

avatar joomla-cms-bot joomla-cms-bot - change - 25 Aug 2023
Category Layout
avatar stell stell - open - 25 Aug 2023
avatar stell stell - change - 25 Aug 2023
Status New Pending
avatar stell stell - change - 25 Aug 2023
The description was changed
avatar stell stell - edited - 25 Aug 2023
avatar heelc29
heelc29 - comment - 25 Aug 2023

There is an already merged PR for 5.0 #40650

avatar laoneo laoneo - change - 26 Aug 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-08-26 08:42:06
Closed_By laoneo
Labels Added: PR-4.4-dev
avatar laoneo
laoneo - comment - 26 Aug 2023

Thanks for your contribution. Closing this one as we have a similar one in 5.

avatar laoneo laoneo - close - 26 Aug 2023

Add a Comment

Login with GitHub to post a comment