diff --git a/src/modules/data-entry/views/receipts/ReceiptCreateView.vue b/src/modules/data-entry/views/receipts/ReceiptCreateView.vue index 0dde6e6..318d369 100644 --- a/src/modules/data-entry/views/receipts/ReceiptCreateView.vue +++ b/src/modules/data-entry/views/receipts/ReceiptCreateView.vue @@ -342,7 +342,7 @@
-
+
-
+
{ padding: 0.5rem 0.75rem; } +/* CSS Grid layout for precise column control - PREVENTS OVERLAP */ .values-row-inline { - display: flex; - align-items: flex-end; - gap: 0.75rem; - flex-wrap: wrap; + display: grid; + grid-template-columns: 150px 200px auto; + column-gap: 3rem; + row-gap: 0.5rem; + align-items: start; } .value-item { @@ -2417,6 +2419,15 @@ const submitForReview = async () => { gap: 0.2rem; } +/* Explicit widths for inputs */ +.value-item-total { + width: 150px; +} + +.value-item-payment { + width: 200px; +} + .value-item label { font-size: 0.75rem; font-weight: 500; @@ -2429,7 +2440,15 @@ const submitForReview = async () => { } .dropdown-payment { - min-width: 160px; + width: 180px; /* Fixed width to prevent overlap */ +} + +:deep(.dropdown-payment) { + width: 180px !important; +} + +:deep(.dropdown-payment .p-dropdown) { + width: 100% !important; } .payment-method-item {