-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Center modal on mobile #27859
[4.0] Center modal on mobile #27859
Conversation
I have tested this item ✅ successfully on 71b426d This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27859. |
1 similar comment
I have tested this item ✅ successfully on 71b426d This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27859. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27859. |
Thanks. |
thanks |
I don't agree with this change. I think changes should never be made in the vendor directory but in the overrides. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27859. |
@chmst as far as I understand that is the folder for vendor overrides |
Was my understanding, too, but I might be wrong. |
@chmst I think you are right. It should have been modified here: |
@brianteeman Could you check and if necessary make a new PR? |
This PR was correct |
Your changes are correct. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27859. |
That's the problem with us having two different places where code is being overridden. It would be easier to maintain if there was only one place and not two. |
It is indeed very confusing where to modify/change stuff for this template. |
If the code is moved then all the code in that vendor folder should be moved as well and the imports removed |
and/or it should be clearly documented when to use the vendor folder |
Well, this case is quite clear: blocks/modal deals with all specific modal classes. btn, header, body, title, etc. |
clear as mud. the logic behind the decision escapes me |
The whole way Atum scss are made is indeed clear as mud. The use of svg is a p i t a (see #27864 ) |
i dont see how you come to the conclusion that it is in the wrong place |
I give up. |
@brianteeman putting modal overrides in modals ( |
Just for clarity - it is not an override |
Pull Request for Issue #27536 .
Summary of Changes
Bizarrely bootstrap does not center modals on devices smaller than 567px eg mobile phones
Testing Instructions
Go to the admin dashboard
Reduce viewport width down to a mobile size
Click the "Add module to the dashboard" button at the bottom of the page
Expected result
Horizontally aligned modal
Actual result
Modal aligned to the left
apply the pr run
npm i
ornode build.js --compile-css