mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-28 18:59:44 +02:00
fix: print button not working, declined popup should be at top
This commit is contained in:
@@ -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);
|
||||
};
|
||||
});
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user