-
-
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
Difference in height of visibility button and password input #33823 #33824
Conversation
I have tested this item 🔴 unsuccessfully on 48a2894 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33824. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change bottom-margin to 0
See below comment
The problem is caused by
|
Sorry, it's by mistake approved and I didn't revert it. |
I followed the GSOC guidelines to change the branch to 4.0-dev, so which branch should I choose? |
@deveshprasad The branch is ok. It would have been better if you had created a new, extra branch for this PR based on the 4.0-dev branch, but as long as you don't make other PR's for other issues, it works like now, using your 4.0-dev branch. Later when this PR is ok and tested and merged, the best is you delete your 4.0-dev branch and create it again based on the 4.0-dev branch of the CMS. Otherwise, if you don't do that and later create another PR based on your 4.0-dev branch which still contains your changes from this PR here, the other, future PR will be wrong. But for now that should not be a problem. |
Here you should change margin-bottom to 0
|
The PR that introduced that code was #32697 |
I have tested this item 🔴 unsuccessfully on 48a2894 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33824. |
Then it can be corrected by add |
That would set a margin bottom at all screen sizes. Is that what you want to do? |
So if the bootstrap margin is not the correct way and we should remove the entire class, and should directly set it to 0. I have a similar issue which I solved with help of bootstrap, but if m-1 is not the correct way as it works on all responsive screens Similar issue: |
Pull Request for Issue #33823
Summary of Changes
Difference in the height of input and visibility button
Solved by adding a bootstrap bottom margin to 0.
Testing Instructions
Go to the main joomla web page and view it on mobile view.
<button type="button" class="btn btn-primary js-pstats-btn-allow-always m-1"><?php echo Text::_('PLG_SYSTEM_STATS_BTN_SEND_ALWAYS'); ?></button> <button type="button" class="btn btn-primary js-pstats-btn-allow-once m-1"><?php echo Text::_('PLG_SYSTEM_STATS_BTN_SEND_NOW'); ?></button> <button type="button" class="btn btn-primary js-pstats-btn-allow-never m-1" style="margin:0px"><?php echo Text::_('PLG_SYSTEM_STATS_BTN_NEVER_SEND'); ?></button>
Actual result BEFORE applying this Pull Request
Expected result AFTER applying this Pull Request
Documentation Changes Required
No changes in the documentation.