-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[5.2] remove margin-bottom on .btn styling to prevent nasty offset #43247
Conversation
Which was the PR I made a partial fix in? Would like to check exactly what the issue it was fixing is still fixed. Thanks |
Long live |
Thanks |
This pull request has been automatically rebased to 5.2-dev. |
I have tested this item ✅ successfully on bbc2940 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43247. |
I have tested this item ✅ successfully on 59254e3 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43247. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43247. |
Thanks @hans2103 ! |
joomla/joomla-cms#43232 + joomla/joomla-cms#43378 + joomla/joomla-cms#43216 + joomla/joomla-cms#43260 + joomla/joomla-cms#43386 + joomla/joomla-cms#43575 + joomla/joomla-cms#43491 + joomla/joomla-cms#43760 - (upmerge, внесено в 5.1х) joomla/joomla-cms#43247 + joomla/joomla-cms#43579 + joomla/joomla-cms#43690 + joomla/joomla-cms#43829 + joomla/joomla-cms#43840 + joomla/joomla-cms#43841 + joomla/joomla-cms#43885 - (upmerge, только для др. пакетов) joomla/joomla-cms#43223 + joomla/joomla-cms#43810 - (только для en-GB) joomla/joomla-cms#43898 + joomla/joomla-cms#43432 + joomla/joomla-cms#43870 + joomla/joomla-cms#42850 + joomla/joomla-cms#43937 - (upmerge, только для др. пакетов) joomla/joomla-cms#43862 + joomla/joomla-cms#43975 + joomla/joomla-cms#43910 + joomla/joomla-cms#43965 + joomla/joomla-cms#43738 + joomla/joomla-cms#43814 + joomla/joomla-cms#44000 + joomla/joomla-cms#44050 + (upmerge, с 4.4.9) joomla/joomla-cms#43966 + joomla/joomla-cms#44065 +
Pull Request for Issue # .
Summary of Changes
This PR will remove the following piece of SCSS and uses proper Bootstrap classNames to achieve the same goal.
joomla-cms/build/media_source/templates/site/cassiopeia/scss/vendor/bootstrap/_buttons.scss
Lines 50 to 57 in 45adb61
PR #32697 introduced a margin-bottom of .25em on all buttons.
A fix made by @brianteeman prevented this to happen on buttons in an input-group.
Both are not needed when using proper Bootstrap classNames on the wrapping element.
Testing Instructions
.btn
are stacked with a proper gap between..btn
are stacked with a proper gap between..btn
don't have a obsolete margin-bottom anymore.Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Comment
Even Bootstrap core has no margins around buttons. See screenshot below where I have disabled the DOCS styling.
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed