From bd64e1a1c7a6b7d5eaf4c0251a8926e41de709fe Mon Sep 17 00:00:00 2001 From: Ejaaz Khan Date: Wed, 8 Oct 2025 16:37:02 +0530 Subject: [PATCH] refactor(form): change field position from left-right to top-down --- frappe/public/scss/desk/form.scss | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/frappe/public/scss/desk/form.scss b/frappe/public/scss/desk/form.scss index b5d840ebd8..73fe064331 100644 --- a/frappe/public/scss/desk/form.scss +++ b/frappe/public/scss/desk/form.scss @@ -445,30 +445,6 @@ } } -// above mobile -@media (min-width: map-get($grid-breakpoints, "md")) { - // for 1, 2 column layouts, implement horizontal, else vertical - .col-sm-12 > form > .frappe-control > .horizontal, - .col-sm-6 > form > .frappe-control > .horizontal { - display: flex; - justify-content: space-between; - vertical-align: middle; - - .clearfix { - width: 38%; - } - - .control-input-wrapper { - width: 62%; // golden ratio - } - - .control-label { - margin-top: 3px; - margin-bottom: 3px; - } - } -} - .form-footer { max-width: var(--page-max-width); margin: auto;