From b8e85180c7a7df4ad833b2c72c96e86b6a56385d Mon Sep 17 00:00:00 2001 From: Scheianu Ionut Date: Thu, 9 Oct 2025 00:41:32 +0300 Subject: [PATCH] updated to scrol betwen the rows in the card --- py_app/app/static/css/warehouse.css | 6 +++ py_app/app/templates/create_locations.html | 48 +++++++++++----------- 2 files changed, 31 insertions(+), 23 deletions(-) diff --git a/py_app/app/static/css/warehouse.css b/py_app/app/static/css/warehouse.css index 55cbb58..6ec10d3 100644 --- a/py_app/app/static/css/warehouse.css +++ b/py_app/app/static/css/warehouse.css @@ -1,3 +1,9 @@ +/* Make the warehouse locations table scrollable within the card */ +.warehouse-table-scroll { + max-height: 520px; /* fits inside 640px card with header and hint */ + overflow-y: auto; + margin-bottom: 0; +} /* Ensure .main-content is full width for warehouse pages */ /* Fix horizontal overflow: use 100% width, not 100vw */ diff --git a/py_app/app/templates/create_locations.html b/py_app/app/templates/create_locations.html index e59e426..6cf4ca0 100755 --- a/py_app/app/templates/create_locations.html +++ b/py_app/app/templates/create_locations.html @@ -38,29 +38,31 @@
Click on a row to select a location for printing
- - - - - - - - - - - {% for loc in locations %} - - - - - - - {% endfor %} - -
IDLocation CodeSizeDescription
{{ loc[0] }}{{ loc[1] }}{{ loc[2] or '' }}{{ loc[3] or '' }}
+
+ + + + + + + + + + + {% for loc in locations %} + + + + + + + {% endfor %} + +
IDLocation CodeSizeDescription
{{ loc[0] }}{{ loc[1] }}{{ loc[2] or '' }}{{ loc[3] or '' }}
+