forked from akai/readest
This commit is contained in:
@@ -48,7 +48,10 @@ const BookCover: React.FC<BookCoverProps> = ({
|
||||
return (
|
||||
<div
|
||||
ref={coverRef}
|
||||
className={clsx('book-cover-container relative flex h-full w-full', className)}
|
||||
className={clsx(
|
||||
'book-cover-container no-context-menu relative flex h-full w-full',
|
||||
className,
|
||||
)}
|
||||
>
|
||||
{coverFit === 'crop' ? (
|
||||
<Image
|
||||
|
||||
@@ -324,3 +324,12 @@ foliate-view {
|
||||
.drop-zone.drag-over .drop-indicator {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.no-context-menu {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user