feat: add frappe-card class in base_list
This commit is contained in:
parent
d8d89547c0
commit
86fd29b2f5
2 changed files with 8 additions and 6 deletions
|
|
@ -153,6 +153,7 @@ frappe.views.BaseList = class BaseList {
|
|||
setup_page() {
|
||||
this.page = this.parent.page;
|
||||
this.$page = $(this.parent);
|
||||
this.page.main.addClass('frappe-card');
|
||||
this.page.page_form.removeClass("row").addClass("flex");
|
||||
this.setup_page_head();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,13 +45,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
.page-form {
|
||||
padding-top: 24px;
|
||||
.layout-main-section-wrapper {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.layout-main-section-wrapper {
|
||||
padding: 0px;
|
||||
margin-bottom: 60px;
|
||||
.layout-main-section.frappe-card {
|
||||
overflow: hidden;
|
||||
@include card();
|
||||
}
|
||||
|
||||
.page-head {
|
||||
|
|
@ -75,10 +75,11 @@
|
|||
|
||||
.page-form {
|
||||
margin: 0;
|
||||
padding: 5px 10px;
|
||||
padding: var(--padding-sm);
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
background-color: var(--card-bg);
|
||||
border-bottom: 1px solid var(--gray-100);
|
||||
|
||||
.form-group {
|
||||
padding: 0px 5px;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue