Skip to content

Commit

Permalink
Fix subform.repeatable-table multi field styling (#20209)
Browse files Browse the repository at this point in the history
* Fix subform.repeatable-table multi field styling

* Fix staging less/css

* revert previous
  • Loading branch information
ciar4n authored and Michael Babker committed Jul 21, 2018
1 parent d6e33a4 commit 98f947a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 21 deletions.
20 changes: 3 additions & 17 deletions administrator/templates/isis/css/template-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -7538,7 +7538,9 @@ textarea.noResize {
margin-bottom: 10px;
}
}
.subform-table-layout .control-group,
.subform-table-layout .control-group {
margin-bottom: 10px;
}
.subform-table-layout .control-group:last-of-type {
margin-bottom: 0;
}
Expand Down Expand Up @@ -9350,22 +9352,6 @@ body {
.pager .previous a {
float: right;
}
.btn-group > .btn:first-child,
.radio.btn-group > label:first-of-type {
margin-left: 0;
-webkit-border-bottom-left-radius: 0px;
border-bottom-left-radius: 0px;
-webkit-border-top-left-radius: 0px;
border-top-left-radius: 0px;
-moz-border-radius-bottomleft: 0px;
-moz-border-radius-topleft: 0px;
-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;
}
.icon-arrow-right {
background-position: -241px -94px;
float: left;
Expand Down
4 changes: 3 additions & 1 deletion administrator/templates/isis/css/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -7538,7 +7538,9 @@ textarea.noResize {
margin-bottom: 10px;
}
}
.subform-table-layout .control-group,
.subform-table-layout .control-group {
margin-bottom: 10px;
}
.subform-table-layout .control-group:last-of-type {
margin-bottom: 0;
}
Expand Down
7 changes: 5 additions & 2 deletions administrator/templates/isis/less/blocks/_forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,11 @@ textarea.noResize {
}

.subform-table-layout {
.control-group, .control-group:last-of-type {
margin-bottom: 0;
.control-group {
margin-bottom: 10px;
&:last-of-type {
margin-bottom: 0;
}
}
.controls {
padding-right: 20px;
Expand Down
2 changes: 1 addition & 1 deletion administrator/templates/isis/less/template-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -433,4 +433,4 @@ a.grid_true {
}
}
}
}
}

0 comments on commit 98f947a

Please sign in to comment.