Apply the same padding to all nested form-container

issue6763
review38691002
This commit is contained in:
Cédric Krier committed 2017-09-21 00:16:24 +02:00
1 parent fbd5fba47a
commit eff574e7f5
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ button {
.form {
width: 100%;
& > table.form-container {
& table.form-container {
width: 100%;
& > tbody > tr > td {
padding: 1px;
+8
View File
@@ -603,10 +603,18 @@ function eval_pyson(value){
} else {
cell.css('width', '');
}
// show/hide when container is horizontal or vertical
// to not show padding
if (cell.children().css('display') == 'none') {
cell.css('visibility', 'collapse');
if (col <= 1) {
cell.hide();
}
} else {
cell.css('visibility', 'visible');
if (col <= 1) {
cell.show();
}
}
i += colspan;
});