From a6a88a359708e7ecb33cf6ba7c5a36e6a262cadf Mon Sep 17 00:00:00 2001 From: FrederikBaerentsen Date: Sun, 29 Dec 2024 13:49:25 +0100 Subject: [PATCH] Added formatting to `/parts` --- templates/parts.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/templates/parts.html b/templates/parts.html index 9586bef..fe15230 100644 --- a/templates/parts.html +++ b/templates/parts.html @@ -24,6 +24,14 @@ table.sortable tbody tr:nth-child(2n+1) td { background: #ecf0f1; } +.name-class { + max-width: 300px; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; +} + + @media only screen and (max-width: 480px) { /* horizontal scrollbar for tables if mobile screen */ img { @@ -166,15 +174,18 @@ table.sortable tbody tr:nth-child(2n+1) td { +
+

Parts

+
- + - + @@ -196,8 +207,10 @@ table.sortable tbody tr:nth-child(2n+1) td { {% endfor %}
Part Num ColorNameName element_id total_quantity
+
+