Fixed page touchable height
This commit is contained in:
parent
9d3cb3eaa4
commit
6cf7e2a253
@ -29,6 +29,10 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
max-height: 90%;
|
max-height: 90%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@ -63,7 +63,7 @@ export const BookView = ({ setLoading, loading }: IPageProps) => {
|
|||||||
/>
|
/>
|
||||||
<div className={styles.content} ref={contentRef} />
|
<div className={styles.content} ref={contentRef} />
|
||||||
<div className={styles.pageContainer} ref={pageContainerRef}>
|
<div className={styles.pageContainer} ref={pageContainerRef}>
|
||||||
<div ref={pageRef} onClick={goNext} />
|
<div className={styles.page} ref={pageRef} onClick={goNext} />
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className={`${styles.border} ${styles.rightBorder}`}
|
className={`${styles.border} ${styles.rightBorder}`}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user