From 20ad15e4e4dc328a3a39637dd96ece06e9605b07 Mon Sep 17 00:00:00 2001 From: Jan Date: Sat, 18 Oct 2025 09:28:11 +0200 Subject: [PATCH] Refactoring premiss edit: - fixed bug in mass edit, when editing single value --- .../layout/bulkedit/BulkEditRow.vue | 4 +- .../components/layout/edit/MaterialEdit.vue | 31 ++----------- .../src/pages/CalculationMassEdit.vue | 23 +++++----- src/frontend/src/store/premiseEdit.js | 46 ++++++++++--------- 4 files changed, 43 insertions(+), 61 deletions(-) diff --git a/src/frontend/src/components/layout/bulkedit/BulkEditRow.vue b/src/frontend/src/components/layout/bulkedit/BulkEditRow.vue index 4dfadbc..f9434b9 100644 --- a/src/frontend/src/components/layout/bulkedit/BulkEditRow.vue +++ b/src/frontend/src/components/layout/bulkedit/BulkEditRow.vue @@ -239,15 +239,17 @@ export default { .edit-calculation-cell { flex: 1 1 auto; margin: 1.6rem 0; + padding: 0.8rem; } .edit-calculation-empty { flex: 1 1 auto; margin: 1.6rem 0; + padding: 0.8rem; } .copyable-cell { - padding: 0.8rem; + border-radius: 0.8rem; } diff --git a/src/frontend/src/components/layout/edit/MaterialEdit.vue b/src/frontend/src/components/layout/edit/MaterialEdit.vue index 8aed29b..f470a5f 100644 --- a/src/frontend/src/components/layout/edit/MaterialEdit.vue +++ b/src/frontend/src/components/layout/edit/MaterialEdit.vue @@ -1,17 +1,14 @@