From 86bf59e67517e6c7229406c847ad587e1fd8da2c Mon Sep 17 00:00:00 2001 From: "Tommy\\2Fi-Staff" Date: Fri, 13 Mar 2026 03:16:21 +0800 Subject: [PATCH] make putaway smaller --- src/components/PutAwayScan/PutAwayModal.tsx | 2 +- src/components/StockIn/CalculateExpiryDateModal.tsx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/PutAwayScan/PutAwayModal.tsx b/src/components/PutAwayScan/PutAwayModal.tsx index b4b0a5e..4eec24a 100644 --- a/src/components/PutAwayScan/PutAwayModal.tsx +++ b/src/components/PutAwayScan/PutAwayModal.tsx @@ -55,7 +55,7 @@ const style = { position: "absolute", top: "50%", left: "50%", - transform: "translate(-50%, -50%)", + transform: "translate(-50%, -50%) scale(0.85)", bgcolor: "background.paper", pt: { xs: 0.5, sm: 0.75, md: 1 }, px: { xs: 1, sm: 1, md: 1.5 }, diff --git a/src/components/StockIn/CalculateExpiryDateModal.tsx b/src/components/StockIn/CalculateExpiryDateModal.tsx index e14f160..8d3ab5f 100644 --- a/src/components/StockIn/CalculateExpiryDateModal.tsx +++ b/src/components/StockIn/CalculateExpiryDateModal.tsx @@ -166,7 +166,7 @@ const CalculateExpiryDateModal: React.FC = ({ position: "fixed", top: "50%", left: "50%", - transform: "translate(-50%, -50%)", + transform: "translate(-50%, -50%) scale(0.8)", }} > = ({ alignItems="flex-start" spacing={2} > - + = ({ justifyContent: 'center', alignItems: 'center', alignSelf: 'flex-start', - mt: '8px', // align icon with vertical center of MUI outlined input + mt: '20px', // align icon with vertical center of 生產日期 input (label ~20px + half input 28px) height: 56, }}> - + = ({ justifyContent: 'center', alignItems: 'center', alignSelf: 'flex-start', - mt: '8px', + mt: '20px', // align with 生產日期 input text box height: 56, }}>