solved overflow header on logiin page

This commit is contained in:
RaktimaNXG
2023-11-08 20:42:35 +05:30
parent 6bd9ac0b8f
commit 5fa60d8135
5 changed files with 760 additions and 769 deletions
@@ -74,7 +74,8 @@ function EmbedPdfImage() {
return object.pageNumber === pageNumber;
});
const divRef = useRef(null);
//check isSigner is present in local if yes than handle login flow header in mobile view
const isSigner = localStorage.getItem("isSigner");
useEffect(() => {
const clientWidth = window.innerWidth;
const pdfWidth = clientWidth - 160 - 220 - 30;
@@ -1010,8 +1011,8 @@ function EmbedPdfImage() {
{/* pdf render view */}
<div
style={{
marginLeft: pdfOriginalWidth > 500 && "20px",
marginRight: pdfOriginalWidth > 500 && "20px"
marginLeft: !isSigner && pdfOriginalWidth > 500 && "20px",
marginRight: !isSigner && pdfOriginalWidth > 500 && "20px"
}}
>
{/* this modal is used show this document is already sign */}
@@ -1126,9 +1127,9 @@ function EmbedPdfImage() {
)}
</div>
)}
{/* ndD5gdaxqw */}
</DndProvider>
);
}
export default EmbedPdfImage;
export default EmbedPdfImage;