Feature RTC Language Change NPM Resource Changed PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar hans2103
hans2103
10 Apr 2024

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.

@include media-breakpoint-down(lg) {
.btn {
margin-bottom: .25rem;
}
.input-group .btn {
margin-bottom: 0;
}
}

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

  • Joomla 5.1 with sample data installed.
  • Compile SCSS
  • Head over to page Typography and reduce the viewport. On mobile the elements with className .btn are stacked with a proper gap between.
  • Login on frontend and click an item to edit. On mobile the elements with className .btn are stacked with a proper gap between.
  • Go to a random page to invoke a 404. Inspect the button with home icon and text "Home page". On mobile this button has no obsolete margin-bottom anymore. And all elements with className .btn don't have a obsolete margin-bottom anymore.

Actual result BEFORE applying this Pull Request

Scherm­afbeelding 2024-04-10 om 17 15 10 Scherm­afbeelding 2024-04-10 om 17 13 25 Scherm­afbeelding 2024-04-10 om 17 12 12

Expected result AFTER applying this Pull Request

Scherm­afbeelding 2024-04-10 om 17 15 31 Scherm­afbeelding 2024-04-10 om 17 13 05 Scherm­afbeelding 2024-04-10 om 17 12 32

Comment

Even Bootstrap core has no margins around buttons. See screenshot below where I have disabled the DOCS styling.

Scherm­afbeelding 2024-04-10 om 17 05 01

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

avatar hans2103 hans2103 - open - 10 Apr 2024
avatar hans2103 hans2103 - change - 10 Apr 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Apr 2024
Category Administration Language & Strings Repository NPM Change Front End com_config com_contact com_content
avatar brianteeman
brianteeman - comment - 10 Apr 2024

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

avatar hans2103
hans2103 - comment - 11 Apr 2024

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

#33928

Long live git blame for this.

avatar hans2103 hans2103 - change - 11 Apr 2024
Labels Added: Language Change NPM Resource Changed PR-5.1-dev
avatar brianteeman
brianteeman - comment - 11 Apr 2024

Thanks

avatar HLeithner
HLeithner - comment - 24 Apr 2024

This pull request has been automatically rebased to 5.2-dev.

avatar hans2103 hans2103 - change - 24 Apr 2024
Labels Added: Feature
avatar HLeithner HLeithner - change - 24 Apr 2024
Title
[5.1] remove margin-bottom on .btn styling to prevent nasty offset
[5.2] remove margin-bottom on .btn styling to prevent nasty offset
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar hans2103 hans2103 - change - 25 Apr 2024
Labels Added: PR-5.2-dev
avatar hans2103 hans2103 - change - 28 Apr 2024
Labels Removed: PR-5.1-dev
avatar JeroenMoolenschot JeroenMoolenschot - test_item - 1 Jul 2024 - Tested successfully
avatar JeroenMoolenschot
JeroenMoolenschot - comment - 1 Jul 2024

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.

avatar RickR2H RickR2H - test_item - 3 Jul 2024 - Tested successfully
avatar RickR2H
RickR2H - comment - 3 Jul 2024

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.

avatar Quy Quy - change - 3 Jul 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 3 Jul 2024

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43247.

avatar Quy Quy - alter_testresult - 3 Jul 2024 - JeroenMoolenschot: Tested successfully
avatar Quy Quy - change - 9 Jul 2024
Labels Added: RTC
avatar pe7er pe7er - change - 11 Jul 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-07-11 16:40:06
Closed_By pe7er
avatar pe7er pe7er - close - 11 Jul 2024
avatar pe7er pe7er - merge - 11 Jul 2024
avatar pe7er
pe7er - comment - 11 Jul 2024

Thanks @hans2103 !

Add a Comment

Login with GitHub to post a comment