From a96a86c91b0e6740b36285e76b7a0edc3ccc62b4 Mon Sep 17 00:00:00 2001 From: Fatimatul Zaharah Date: Mon, 15 Jan 2024 10:53:18 +0800 Subject: [PATCH] ST-10986 fix remove money input margin --- package.json | 2 +- src/currency/components/MoneyInputV2Base.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8deecba..fd6fe7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@supplycart/ui", - "version": "1.14.42", + "version": "1.14.43", "repository": { "type": "git", "url": "https://github.com/supplycart/ui" diff --git a/src/currency/components/MoneyInputV2Base.vue b/src/currency/components/MoneyInputV2Base.vue index 7a800a2..b737f80 100644 --- a/src/currency/components/MoneyInputV2Base.vue +++ b/src/currency/components/MoneyInputV2Base.vue @@ -112,7 +112,7 @@ export default { attrs: { type: "text", class: - "border border-gray-300 rounded p-2 text-right mb-2" + + "border border-gray-300 rounded p-2 text-right" + (vm.editing ? " hidden" : ""), pattern: "[0-9.!a-zA-Z0]", disabled: vm.disabled, @@ -137,7 +137,7 @@ export default { attrs: { type: "text", class: - "border border-red-300 rounded p-2 text-right mb-2" + + "border border-red-300 rounded p-2 text-right" + (!vm.editing ? " hidden" : ""), pattern: "[0-9.!a-zA-Z0]", placeholder: vm.placeholder,