remove unneeded space from btn-group/radio/checkboxes#12003
remove unneeded space from btn-group/radio/checkboxes#12003rdeutz merged 4 commits intojoomla:stagingfrom
Conversation
|
Usually we don't change anything in 3rd party files. Try to do the fix in the Protostar/Isis template files. |
|
Hm, in the backend there is a lot of |
|
@Minei3oat Please include some before and after screenshots. That will help you to get testers for this This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003. |
|
I hope the image helps. |
|
Well at least I have a clue what you were talking about now. Hopefully others will as well. |
|
I am not a CSS expert but I see that you have added 0px and I was under the impression that you don't use a unit when the value is 0 |
|
I have tested this item ✅ successfully on 653d710 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003. |
|
I have tested this item ✅ successfully on 8405a06 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003. |
|
It seems equal weather to use a unit for zero values or not. It is used both in the templates' less files. Since Bootstrap uses no units on zero values I've dropped them. |
|
I checked and technically its optional but it seems to be preferred to On 14 October 2016 at 20:42, Minei3oat notifications@github.com wrote:
Brian Teeman |
|
This patch reverts the new bright green color too ? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003. |
|
This pull request changes no colors in the less files. But other pull requests submitted after I created mine have changed the colors and I didn't updated this one. So the templates css-files in this pull request are compiled with the old colors. |
|
I have tested this item ✅ successfully on 8405a06 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003. |
|
@Minei3oat can you please look at the conflicts?
|
8405a06 to
2f0bb8c
Compare
|
I hope, I resolved the conflicts correct |
In vertical from there was unneeded space between the label and the controls under it. Removed padding-top of btn-group to align with label. Added 2px padding-top to btn-group-yes in isis to compensate 2px less padding-top of each button to have the buttons aligned with the label.
This reverts commit a086850.
2f0bb8c to
b48f2ad
Compare
|
I have tested this item 🔴 unsuccessfully on b48f2ad This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003. |
|
I have tested this item ✅ successfully on b48f2ad And successfully tested with the patch! Thanks @Minei3oat ! This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003. |
|
@franz-wohlkoenig I've tested this PR with 3.7.0 Alpha 1 in the browsers IE 11, Firefox 45 and Google Chrome 55 but I can't find a problem. |
|
I have tested this item ✅ successfully on b48f2ad This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12003. |
* remove unneeded space from btn-group/radio/checkboxes In vertical from there was unneeded space between the label and the controls under it. Removed padding-top of btn-group to align with label. Added 2px padding-top to btn-group-yes in isis to compensate 2px less padding-top of each button to have the buttons aligned with the label. * move code from forms.less to protostar / isis This reverts commit a086850. * correct comment * removed unit from zero values
…sets-option * 'staging' of github.com:roland-d/joomla-cms: (136 commits) Clean up old code in cache.php file (joomla#12183) Fixing search for MySQL (joomla#13571) Unnecessary double quotes in /libraries/joomla (joomla#13372) Some improvements in tests #3: (joomla#13402) It's 2017. Happy New Year Fixing a typo in gallery plugin language files Add stripslashes to mssql result columns. (joomla#13534) remove unneeded space from btn-group/radio/checkboxes (joomla#12003) typo (joomla#13563) Remove default value from the field params to inherit from plugin Remove multiple parameter from user field Fix name of component helper in fieldshelper (joomla#13539) remove duplicated code (joomla#13550) Fix invalid string that causes the ini file not to load (joomla#13544) Catch "expects parameter 2 to be string" error Take complete context for group lookup (joomla#13538) [Mssql] Fix syntax error when installing a language in backend (joomla#13512) Normalize #__categories table across 3 db systems and add default values (joomla#13514) Normalize #__ucm_content table across 3 db systems and add default values (joomla#13513) Update config.xml (joomla#13503) ...
* remove unneeded space from btn-group/radio/checkboxes In vertical from there was unneeded space between the label and the controls under it. Removed padding-top of btn-group to align with label. Added 2px padding-top to btn-group-yes in isis to compensate 2px less padding-top of each button to have the buttons aligned with the label. * move code from forms.less to protostar / isis This reverts commit a086850. * correct comment * removed unit from zero values


Pull Request for Issue # .
Summary of Changes
In vertical from there was unneeded space between the label and some controls (
radio,checkboxes) under it.Removed
padding-topofbtn-groupto align with label.Added
2pxpadding-toptobtn-group-yesnoin isis to compensate2pxlesspadding-topof each button to have the buttons aligned with the label.Testing Instructions
Look at some vertical forms in backend (Isis) and frontend (Protostar):

There is
5pxmore space between the label and theradio(btn-groupas well because it is type radio) /checkboxesfield than other fields. After aplying this PR the additional space should disapear.Look at some horizontal forms in backend (Isis) and frontend (Protostar):
Before the PR the text of
btn-groupis not aligned to the text of the label. After aplying this PR it should be.Documentation Changes Required
none