From 9fc6268558245c9f6fc8464da787b314b2dea9d3 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 9 May 2019 17:47:38 +1000 Subject: [PATCH 1/5] Increase size of part image display --- InvenTree/static/css/inventree.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/static/css/inventree.css b/InvenTree/static/css/inventree.css index f11760ae5b..deaa631440 100644 --- a/InvenTree/static/css/inventree.css +++ b/InvenTree/static/css/inventree.css @@ -85,8 +85,8 @@ } .part-thumb { - width: 150px; - height: 150px; + width: 200px; + height: 200px; margin: 5px; padding: 5px; object-fit: contain; From 6c4b5731db712a9aadae6ee69763f7d0f8038f82 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 9 May 2019 17:49:05 +1000 Subject: [PATCH 2/5] Reduce padding --- InvenTree/static/css/inventree.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/static/css/inventree.css b/InvenTree/static/css/inventree.css index deaa631440..7d624fd8a1 100644 --- a/InvenTree/static/css/inventree.css +++ b/InvenTree/static/css/inventree.css @@ -87,8 +87,8 @@ .part-thumb { width: 200px; height: 200px; - margin: 5px; - padding: 5px; + margin: 2px; + padding: 3px; object-fit: contain; } From 4f56abf31210235218712694a86246e39e6bd440 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 9 May 2019 17:49:41 +1000 Subject: [PATCH 3/5] Fix scaling for thumbnail icons --- InvenTree/static/css/inventree.css | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/static/css/inventree.css b/InvenTree/static/css/inventree.css index 7d624fd8a1..9c1d470cab 100644 --- a/InvenTree/static/css/inventree.css +++ b/InvenTree/static/css/inventree.css @@ -30,6 +30,7 @@ background: #eee; width: 28px; height: 28px; + object-fit: contain; border: 1px solid #cce; } From 37405f4ec835a1280b0e921195041a5d3a47705a Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 9 May 2019 18:01:45 +1000 Subject: [PATCH 4/5] Align navigation bar with rest of content --- InvenTree/static/css/inventree.css | 1 - 1 file changed, 1 deletion(-) diff --git a/InvenTree/static/css/inventree.css b/InvenTree/static/css/inventree.css index 9c1d470cab..b29733cd3d 100644 --- a/InvenTree/static/css/inventree.css +++ b/InvenTree/static/css/inventree.css @@ -111,7 +111,6 @@ } .navigation { - padding-left: 15px; } .inventree-content { From 873bd182f0a29215abb38829106ab9ab0787de1e Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 9 May 2019 18:04:42 +1000 Subject: [PATCH 5/5] Vertical alignment of button toolbars --- InvenTree/part/templates/part/category.html | 2 +- InvenTree/static/css/inventree.css | 4 ++++ InvenTree/stock/templates/stock/location.html | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index b9695ea6f2..0e83a68a9a 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -44,7 +44,7 @@
-
+