From 658d1bbae2a80fdb08492007b74213b0d360e6a8 Mon Sep 17 00:00:00 2001 From: Prateeksha Singh Date: Mon, 6 Aug 2018 19:13:10 +0530 Subject: [PATCH] Fix product header styles --- erpnext/public/js/hub/helpers.js | 4 ++-- erpnext/public/less/hub.less | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/erpnext/public/js/hub/helpers.js b/erpnext/public/js/hub/helpers.js index 22e35c3d89..85143b75b5 100644 --- a/erpnext/public/js/hub/helpers.js +++ b/erpnext/public/js/hub/helpers.js @@ -9,7 +9,7 @@ function get_item_card_container_html(items, title='', get_item_html = get_item_ const items_html = (items || []).map(item => get_item_html(item)).join(''); const title_html = title ? `
- ${title} +

${title}

` : ''; @@ -140,4 +140,4 @@ export { get_local_item_card_html, get_rating_html, make_search_bar, -} \ No newline at end of file +} diff --git a/erpnext/public/less/hub.less b/erpnext/public/less/hub.less index da51260e6d..b0ddec413b 100644 --- a/erpnext/public/less/hub.less +++ b/erpnext/public/less/hub.less @@ -210,6 +210,13 @@ body[data-route^="marketplace/"] { border-bottom: none; } + .hub-card-container { + h4 { + font-weight: 500; + margin-top: 32px + } + } + .hub-item-container { overflow: hidden; }