mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Dont show hover cards when in multiselect mode
This commit is contained in:
parent
8dd71f12aa
commit
a7688e0efc
2 changed files with 3 additions and 3 deletions
|
|
@ -101,7 +101,7 @@ export function LibraryGridCard(props: LinkedItemCardProps): JSX.Element {
|
|||
}
|
||||
}}
|
||||
>
|
||||
{!isTouchScreenDevice() && (
|
||||
{!isTouchScreenDevice() && props.multiSelectMode == 'off' && (
|
||||
<Box
|
||||
ref={refs.setFloating}
|
||||
style={{ ...floatingStyles, zIndex: 3 }}
|
||||
|
|
@ -211,7 +211,7 @@ const LibraryGridCardContent = (props: LinkedItemCardProps): JSX.Element => {
|
|||
position: 'absolute',
|
||||
top: 0,
|
||||
left: 0,
|
||||
m: '10px',
|
||||
m: '12px',
|
||||
lineHeight: '1',
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ export function LibraryListCard(props: LinkedItemCardProps): JSX.Element {
|
|||
}
|
||||
}}
|
||||
>
|
||||
{!isTouchScreenDevice() && (
|
||||
{!isTouchScreenDevice() && props.multiSelectMode == 'off' && (
|
||||
<Box
|
||||
ref={refs.setFloating}
|
||||
style={{ ...floatingStyles, zIndex: 3 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue