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 '' }}
+