From c03fe1b2df92fe388942fd793e3b9e3f90df6bfc Mon Sep 17 00:00:00 2001 From: Ejaaz Khan Date: Tue, 30 Dec 2025 16:44:36 +0530 Subject: [PATCH] fix(form): revert section design --- frappe/public/js/frappe/form/section.js | 4 ++-- frappe/public/scss/desk/form.scss | 14 +------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/frappe/public/js/frappe/form/section.js b/frappe/public/js/frappe/form/section.js index 09db5ccc13..5004afcb8a 100644 --- a/frappe/public/js/frappe/form/section.js +++ b/frappe/public/js/frappe/form/section.js @@ -63,8 +63,8 @@ export default class Section { make_head() { this.head = $(`
- - ${__(this.df.label, null, this.df.parent)} + ${__(this.df.label, null, this.df.parent)} +
`); diff --git a/frappe/public/scss/desk/form.scss b/frappe/public/scss/desk/form.scss index 77eacd82b3..8f9a8a767a 100644 --- a/frappe/public/scss/desk/form.scss +++ b/frappe/public/scss/desk/form.scss @@ -78,17 +78,6 @@ } } } -.section-head { - display: flex; - align-items: center; - gap: 8px; -} - -.section-head::after { - content: ""; - flex: 1; - border-bottom: 1px solid var(--border-color); -} .section-head, .section-body { margin: auto !important; @@ -125,10 +114,9 @@ display: none !important; border: 0 !important; } - +.form-section.card-section, .form-dashboard-section { border-bottom: 1px solid var(--border-color); - padding: var(--padding-md) 0; } .form-section.card-section.hide-border {