Remove padding for group with with col -1 and 1

issue6829
review39771002
This commit is contained in:
Cédric Krier committed 2017-11-10 10:52:22 +01:00
1 parent 05edf756fb
commit cf8ab8ad02
2 files changed
+15 -5

No files matched your search

+10 -5
View File
@@ -132,11 +132,16 @@ button {
.form {
width: 100%;
& table.form-container {
width: 100%;
& > tbody > tr > td {
padding: 1px;
}
& table.form-container > tbody > tr > td {
padding: 1px;
}
& table.form-hcontainer > tbody > tr > td {
padding-top: 0px;
padding-bottom: 0px;
}
& table.form-vcontainer > tbody > tr > td {
padding-left: 0px;
padding-right: 0px;
}
& td.form-label {
white-space: pre;
+5
View File
@@ -449,6 +449,11 @@ function eval_pyson(value){
this.el = jQuery('<table/>', {
'class': 'form-container responsive responsive-noheader'
});
if (this.col <= 0) {
this.el.addClass('form-hcontainer');
} else if (this.col == 1) {
this.el.addClass('form-vcontainer');
}
this.add_row();
},
add_row: function() {