Fixed page touchable height

This commit is contained in:
Dmitriy Shishkov 2021-07-18 00:23:50 +05:00
parent 9d3cb3eaa4
commit 6cf7e2a253
No known key found for this signature in database
GPG Key ID: 14358F96FCDD8060
2 changed files with 5 additions and 1 deletions

View File

@ -29,6 +29,10 @@
margin: 0;
}
.page {
height: 100%;
}
img {
max-height: 90%;
max-width: 100%;

View File

@ -63,7 +63,7 @@ export const BookView = ({ setLoading, loading }: IPageProps) => {
/>
<div className={styles.content} ref={contentRef} />
<div className={styles.pageContainer} ref={pageContainerRef}>
<div ref={pageRef} onClick={goNext} />
<div className={styles.page} ref={pageRef} onClick={goNext} />
</div>
<div
className={`${styles.border} ${styles.rightBorder}`}