fixed modal scroll kiosk

This commit is contained in:
unknown 2026-03-03 15:29:29 +05:30
parent ece60a52e7
commit f82af376d3
2 changed files with 16 additions and 3 deletions

View File

@ -968,6 +968,16 @@ const KioskPayment = (props) => {
};
await dispatch(sendSms(postData));
}
const goFullScreen = () => {
const elem = document.documentElement;
if (!document.fullscreenElement) {
elem.requestFullscreen?.().catch((err) => {
console.log("Fullscreen error:", err);
});
}
};
goFullScreen();
clearAllStates();
} else {
if (
@ -1944,7 +1954,7 @@ const KioskPayment = (props) => {
open={open}
handleCancel={!selectedPaymentOption && HandleCloseModal}
footer={false}
width={width > 768 ? 800 : 600}
width={width > 768 ? 900 : 700}
children={
showPaymentGatewayOptions ? (
<div className="paymentCardMain">

View File

@ -72,7 +72,8 @@
row-gap: 12px;
padding: 24px 0px;
align-items: center;
width: 90vw;
width: 86vw;
overflow-x: hidden;
}
.KioskPayment-dailpad-1,
@ -161,6 +162,7 @@
border-radius: 8px;
width: 55%;
}
.KioskPayment-footer-green {
width: 100%;
display: flex;
@ -220,9 +222,10 @@
.Kiosk-dailpad {
width: 90%;
}
.KioskPayment-footer {
div {
width: 80vw;
}
}
}
}