fix: print button not working, declined popup should be at top

This commit is contained in:
prafull-opensignlabs
2024-03-07 19:04:50 +05:30
parent f463ffc8ed
commit 67b3752297
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -362,8 +362,7 @@ export async function getBase64FromUrl(url) {
reader.readAsDataURL(blob);
reader.onloadend = function () {
const pdfBase = this.result;
const removeBase64Prefix = "data:application/octet-stream;base64,";
const suffixbase64 = pdfBase.replace(removeBase64Prefix, "");
const suffixbase64 = pdfBase.split(",").pop();
resolve(suffixbase64);
};
});
+1 -1
View File
@@ -124,7 +124,7 @@ function GuestLogin() {
};
return (
<div style={{ padding: "2rem" }}>
<div style={{ padding: "2rem", background: "white" }}>
{isLoading ? (
<div
style={{
@@ -15,7 +15,7 @@ function CustomModal({
return (
show && (
<div
className="bg-black bg-opacity-[75%] absolute z-[50] flex flex-col items-center justify-center"
className="bg-black bg-opacity-[75%] absolute z-[999] flex flex-col items-center justify-center"
style={{
width: containerWH && containerWH.width,
height: isMobile ? "100%" : containerWH && containerWH.height