? ? Pending

User tests: Successful: Unsuccessful:

avatar ciar4n
ciar4n
22 Apr 2018

Pull Request for Issue #17589 (comment) .

Summary of Changes

Fixes subform.repeatable-table styling when multiple fields are placed in the same cell.

Before PR

image

After PR

image

Testing Instructions

Add the following after https://github.com/joomla/joomla-cms/blob/staging/modules/mod_login/mod_login.xml#L26

<field name="sebform1" type="subform" label="subform"
	layout="joomla.form.field.subform.repeatable-table" multiple="true" groupByFieldset="true">
	<form>
		<fieldset name="group1" label="group 1">
			<field type="text" name="text" label="text 1"/>
			<field type="text" name="text2" label="text 2"/>
			<field type="text" name="text3" label="text 3"/>
		</fieldset>
		<fieldset name="group2" label="group 2">
			<field type="text" name="text4" label="text 4"/>
			<field type="textarea" name="textarea" label="textarea"/>
		</fieldset>
	</form>
</field>

Open login module settings. Check repeatable field styling.

avatar ciar4n ciar4n - open - 22 Apr 2018
avatar ciar4n ciar4n - change - 22 Apr 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Apr 2018
Category Administration Templates (admin)
avatar Quy
Quy - comment - 22 Apr 2018

I have tested this item successfully on 1aa3ba1

I assume this is not related .btn-group > .btn:first-child, .radio.btn-group > label:first-of-type, but ok to delete.


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

avatar Quy Quy - test_item - 22 Apr 2018 - Tested successfully
avatar ciar4n
ciar4n - comment - 22 Apr 2018

I assume this is not related .btn-group > .btn:first-child, .radio.btn-group > label:first-of-type, but ok to delete.

Appears there is a difference between the LESS and compiled CSS in staging. Either some file not previously committed or files edited directly.

avatar ciar4n ciar4n - change - 22 Apr 2018
Labels Added: ?
avatar Quy
Quy - comment - 23 Apr 2018

Do you still need to add .btn-group > .btn:first-child, .radio.btn-group > label:first-of-type even though it is here already?

.btn-group > .btn:first-child,
.radio.btn-group > label:first-of-type {
margin-left: 0;
-webkit-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
-webkit-border-top-left-radius: 4px;
border-top-left-radius: 4px;
-moz-border-radius-bottomleft: 4px;
-moz-border-radius-topleft: 4px;
-webkit-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-topright: 4px;
}

avatar ciar4n
ciar4n - comment - 24 Apr 2018

Something odd here. I suspect it is to do with #19715

Looks like the LESS and CSS was edited separately rather than compiling.

avatar ciar4n
ciar4n - comment - 24 Apr 2018

Do you still need to add .btn-group > .btn:first-child, .radio.btn-group > label:first-of-type even though it is here already?

@Quy We shouldn't however that less is been overridden elsewhere. Appears to be some cascading issues in the RTL CSS. I'll leave it for a separate PR. I've brought this PR back to the original and is now ready. The .btn-group > .btn:first-child, .radio.btn-group > label:first-of-type been removed here is due to the LESS not been compiled in a previous PR.

avatar Quy
Quy - comment - 24 Apr 2018

I have tested this item successfully on b6b077f


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

avatar Quy
Quy - comment - 24 Apr 2018

I have tested this item successfully on b6b077f


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

avatar Quy Quy - test_item - 24 Apr 2018 - Tested successfully
avatar coolcat-creations
coolcat-creations - comment - 26 Jun 2018

I tested it and after applying patch it looks like that:
grafik
grafik
grafik

avatar ciar4n
ciar4n - comment - 26 Jun 2018

@coolcat-creations A separate issue that is reported here.. #20210

As stated in that issue I was gonna fix once this got merged........

avatar coolcat-creations
coolcat-creations - comment - 5 Jul 2018

Hm before and after patch I have the same (good) layout... Tried with clearing cache etc but it looks always good...

avatar Quy
Quy - comment - 5 Jul 2018

@coolcat-creations Please use browser inspector on the 1st input field to see its CSS. The margin-bottom is 0. What is your value?

.form-search input, .form-search textarea, .form-search select, .form-search .help-inline, .form-search .uneditable-input, .form-search .input-prepend, .form-search .input-append, .form-inline input, .form-inline textarea, .form-inline select, .form-inline .help-inline, .form-inline .uneditable-input, .form-inline .input-prepend, .form-inline .input-append, .form-horizontal input, .form-horizontal textarea, .form-horizontal select, .form-horizontal .help-inline, .form-horizontal .uneditable-input, .form-horizontal .input-prepend, .form-horizontal .input-append {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    margin-bottom: 0;
    vertical-align: middle;
}
avatar coolcat-creations
coolcat-creations - comment - 17 Jul 2018

Hi @Quy thanks for your help, I thought the patch is to fix the cut off edge on the right so I focused on that instead of on the margin.

avatar coolcat-creations coolcat-creations - test_item - 17 Jul 2018 - Tested successfully
avatar coolcat-creations
coolcat-creations - comment - 17 Jul 2018

I have tested this item successfully on b6b077f


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

avatar Quy Quy - change - 17 Jul 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 17 Jul 2018

RTC


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

avatar mbabker mbabker - change - 21 Jul 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-07-21 01:04:43
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 21 Jul 2018
avatar mbabker mbabker - merge - 21 Jul 2018

Add a Comment

Login with GitHub to post a comment