feat: change width to 0.64 times browser dimension

This commit is contained in:
Rohit
2025-03-17 23:20:19 +05:30
parent 0487bf00b9
commit ebf832a647
4 changed files with 7 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
const [isCaptureTextConfirmed, setIsCaptureTextConfirmed] = useState(false);
const [isCaptureListConfirmed, setIsCaptureListConfirmed] = useState(false);
const [panelDimensions, setPanelDimensions] = useState({
height: window.innerHeight * 0.72 + 137
height: window.innerHeight * 0.64 + 137
});
const { lastAction, notify, currentWorkflowActionsState, setCurrentWorkflowActionsState, resetInterpretationLog } = useGlobalInfoStore();
@@ -72,7 +72,7 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
const handleResize = useCallback(() => {
// Update panel dimensions
setPanelDimensions({
height: window.innerHeight * 0.72 + 137
height: window.innerHeight * 0.64 + 137
});
}, []);