From 81864a6ab88ca9c4bf8e0a3c082d567db6e61896 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 1 Oct 2020 00:00:37 +1000 Subject: [PATCH] Fix button layout for stock table --- InvenTree/part/templates/part/category.html | 6 ++-- InvenTree/templates/stock_table.html | 32 +++++++++++---------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/InvenTree/part/templates/part/category.html b/InvenTree/part/templates/part/category.html index 528fdc135d..a79bfcbe84 100644 --- a/InvenTree/part/templates/part/category.html +++ b/InvenTree/part/templates/part/category.html @@ -114,9 +114,9 @@ -
- -
+ +
+
diff --git a/InvenTree/templates/stock_table.html b/InvenTree/templates/stock_table.html index 50d18c6386..c41d2181c9 100644 --- a/InvenTree/templates/stock_table.html +++ b/InvenTree/templates/stock_table.html @@ -2,22 +2,24 @@
- - {% if read_only %} - {% else %} - -
- - +
+ + {% if read_only %} + {% else %} + + + {% endif %}
- {% endif %}