fix: only show edit icon in half width grid
This commit is contained in:
parent
f2c36961b3
commit
10ed306085
2 changed files with 11 additions and 3 deletions
|
|
@ -229,7 +229,7 @@ export default class GridRow {
|
|||
this.open_form_button = $(`
|
||||
<div class="btn-open-row">
|
||||
<a>${frappe.utils.icon('edit', 'xs')}</a>
|
||||
<div class="hidden-xs">Edit</div>
|
||||
<div class="hidden-xs edit-grid-row">Edit</div>
|
||||
</div>
|
||||
`)
|
||||
.appendTo($('<div class="col col-xs-1"></div>').appendTo(this.row))
|
||||
|
|
|
|||
|
|
@ -55,8 +55,16 @@
|
|||
}
|
||||
|
||||
// hide row index in 6 column child tables
|
||||
.form-column.col-sm-6 .form-grid .row-index > span {
|
||||
display: none;
|
||||
.form-column.col-sm-6 .form-grid {
|
||||
.row-index > span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.btn-open-row {
|
||||
.edit-grid-row {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.modal .form-grid .row-index > span {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue