Apply the same padding to all nested form-container
issue6763 review38691002
This commit is contained in:
1 parent
fbd5fba47a
commit
eff574e7f5
2 files changed
+9
-1
No files matched your search
+1
-1
@@ -129,7 +129,7 @@ button {
|
||||
|
||||
.form {
|
||||
width: 100%;
|
||||
& > table.form-container {
|
||||
& table.form-container {
|
||||
width: 100%;
|
||||
& > tbody > tr > td {
|
||||
padding: 1px;
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user