From 12de0aec11a5a1579b5fc0fda63ec4a51b5b0f8b Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Wed, 22 Aug 2018 11:50:23 +0530 Subject: [PATCH] Fix publish button alignment --- erpnext/public/js/hub/components/publishing_area.js | 2 +- erpnext/public/less/hub.less | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/erpnext/public/js/hub/components/publishing_area.js b/erpnext/public/js/hub/components/publishing_area.js index 4775c3b16e..17b9ec77b1 100644 --- a/erpnext/public/js/hub/components/publishing_area.js +++ b/erpnext/public/js/hub/components/publishing_area.js @@ -13,7 +13,7 @@ function get_publishing_header() { return $(`
-
+
${title_html} ${publish_button_html}
diff --git a/erpnext/public/less/hub.less b/erpnext/public/less/hub.less index 286e3be10f..c0f03946a7 100644 --- a/erpnext/public/less/hub.less +++ b/erpnext/public/less/hub.less @@ -234,6 +234,12 @@ body[data-route^="marketplace/"] { } } + .publish-area-head { + display: flex; + justify-content: space-between; + margin-bottom: 20px; + } + .form-container { .frappe-control { max-width: 100% !important;