Merge pull request 'fixed modal scroll kiosk' (#216) from limit-fix into main
Reviewed-on: Pozomind/pozo-retail-app#216
This commit is contained in:
commit
43de491616
|
|
@ -968,6 +968,16 @@ const KioskPayment = (props) => {
|
||||||
};
|
};
|
||||||
await dispatch(sendSms(postData));
|
await dispatch(sendSms(postData));
|
||||||
}
|
}
|
||||||
|
const goFullScreen = () => {
|
||||||
|
const elem = document.documentElement;
|
||||||
|
|
||||||
|
if (!document.fullscreenElement) {
|
||||||
|
elem.requestFullscreen?.().catch((err) => {
|
||||||
|
console.log("Fullscreen error:", err);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
goFullScreen();
|
||||||
clearAllStates();
|
clearAllStates();
|
||||||
} else {
|
} else {
|
||||||
if (
|
if (
|
||||||
|
|
@ -1944,7 +1954,7 @@ const KioskPayment = (props) => {
|
||||||
open={open}
|
open={open}
|
||||||
handleCancel={!selectedPaymentOption && HandleCloseModal}
|
handleCancel={!selectedPaymentOption && HandleCloseModal}
|
||||||
footer={false}
|
footer={false}
|
||||||
width={width > 768 ? 800 : 600}
|
width={width > 768 ? 900 : 700}
|
||||||
children={
|
children={
|
||||||
showPaymentGatewayOptions ? (
|
showPaymentGatewayOptions ? (
|
||||||
<div className="paymentCardMain">
|
<div className="paymentCardMain">
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,8 @@
|
||||||
row-gap: 12px;
|
row-gap: 12px;
|
||||||
padding: 24px 0px;
|
padding: 24px 0px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 90vw;
|
width: 86vw;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.KioskPayment-dailpad-1,
|
.KioskPayment-dailpad-1,
|
||||||
|
|
@ -161,6 +162,7 @@
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
width: 55%;
|
width: 55%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.KioskPayment-footer-green {
|
.KioskPayment-footer-green {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -220,6 +222,7 @@
|
||||||
.Kiosk-dailpad {
|
.Kiosk-dailpad {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.KioskPayment-footer {
|
.KioskPayment-footer {
|
||||||
div {
|
div {
|
||||||
width: 80vw;
|
width: 80vw;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue