From c1a827819c3a10d18383d25041c8eefc74bc65eb Mon Sep 17 00:00:00 2001 From: rocheparadox Date: Mon, 20 Sep 2021 17:00:45 +0530 Subject: [PATCH] css for part to occupy full height - fix for bug Inventree#1848 --- 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 = `
-