From 80d2fc4b9ea1bd64e7e91fb5ad893fd87b4b189a Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 22 Sep 2021 09:06:03 +1000 Subject: [PATCH] Merge pull request #2068 from rocheparadox/master css for part to occupy full height - fix for bug Inventree#1848 (cherry picked from commit b123135df6b90997be7aa8d7bafaa12fe9c96f58) --- InvenTree/InvenTree/static/css/inventree.css | 4 ++++ InvenTree/templates/js/translated/part.js | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css index 9ed478ea90..585c0b3825 100644 --- a/InvenTree/InvenTree/static/css/inventree.css +++ b/InvenTree/InvenTree/static/css/inventree.css @@ -1061,3 +1061,7 @@ input[type='number']{ .search-menu .ui-menu-item { margin-top: 0.5rem; } + +.product-card-panel{ + height: 100%; +} diff --git a/InvenTree/templates/js/translated/part.js b/InvenTree/templates/js/translated/part.js index 8cae5d249b..9abbd2a0b9 100644 --- a/InvenTree/templates/js/translated/part.js +++ b/InvenTree/templates/js/translated/part.js @@ -768,7 +768,7 @@ function partGridTile(part) { var html = `
-