fix: grid form scrollable style

This commit is contained in:
prssanna 2021-02-09 13:30:32 +05:30
parent f86335551b
commit 241ad01929
2 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@ export default class GridRowForm {
</div>
</div>
<div class="grid-form-body">
<div class="form-area"></div>
<div class="form-area scrollable"></div>
<div class="grid-footer-toolbar hidden-xs flex justify-between">
<div class="grid-shortcuts">
<span> ${frappe.utils.icon("keyboard", "md")} </span>

View file

@ -340,8 +340,8 @@
}
.grid-form-body {
.form-area {
max-height: 70vh;
.form-area.scrollable {
max-height: calc(100vh - 3.5rem);
overflow-y: auto;
}
}