From a7f4e0a63e2c8814a3ac1ce33e2ee4c14ffa0558 Mon Sep 17 00:00:00 2001 From: Raghavendra Kamath Date: Fri, 2 Mar 2018 14:06:13 +0530 Subject: [PATCH] fix media image sizes on chrome and correct typo on homepage and footer --- foundation/public/css/erpnext-org-theme.css | 12 ++++++++++-- foundation/public/less/erpnext-org-theme.less | 12 ++++++++++-- foundation/templates/includes/footer/footer.html | 2 +- foundation/www/index.html | 2 +- 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/foundation/public/css/erpnext-org-theme.css b/foundation/public/css/erpnext-org-theme.css index a7c90ef3..d90414ff 100644 --- a/foundation/public/css/erpnext-org-theme.css +++ b/foundation/public/css/erpnext-org-theme.css @@ -962,12 +962,20 @@ img.blog-cover-image, } } .media-left { - width: 10%; - margin-right: 2.5rem; + margin-bottom: 1.5rem; +} +@media screen and (min-width: 500px) { + .media-left { + margin-right: 2.5rem; + margin-bottom: 0; + } } .media-heading { margin-top: 0; } +.media-object { + width: 6.5rem; +} .with-border { border-radius: 0.25em; padding: 1rem; diff --git a/foundation/public/less/erpnext-org-theme.less b/foundation/public/less/erpnext-org-theme.less index 619ddcb8..1791e836 100644 --- a/foundation/public/less/erpnext-org-theme.less +++ b/foundation/public/less/erpnext-org-theme.less @@ -936,14 +936,22 @@ img.blog-cover-image, } .media-left { - width: 10%; - margin-right: 2.5rem; + margin-bottom: 1.5rem; + + @media screen and (min-width: @screen-palm) { + margin-right: 2.5rem; + margin-bottom: 0; + } } .media-heading { margin-top: 0; } +.media-object { + width: 6.5rem; +} + .with-border { border-radius: 0.25em; padding: 1rem; diff --git a/foundation/templates/includes/footer/footer.html b/foundation/templates/includes/footer/footer.html index 42412ea9..9c2f3faa 100644 --- a/foundation/templates/includes/footer/footer.html +++ b/foundation/templates/includes/footer/footer.html @@ -3,7 +3,7 @@
- +