mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-24 06:37:16 -04:00
Fixed missing mobile tooltips
This commit is contained in:
parent
f4ca0f9e55
commit
137d61930d
3 changed files with 13 additions and 2 deletions
|
@ -18,7 +18,12 @@ const TextPopover: FunctionComponent<TextPopoverProps> = ({
|
|||
}
|
||||
|
||||
return (
|
||||
<Tooltip label={text} {...tooltip} style={{ textWrap: "wrap" }}>
|
||||
<Tooltip
|
||||
label={text}
|
||||
{...tooltip}
|
||||
style={{ textWrap: "wrap" }}
|
||||
events={{ hover: true, focus: false, touch: true }}
|
||||
>
|
||||
<div>{children}</div>
|
||||
</Tooltip>
|
||||
);
|
||||
|
|
|
@ -65,7 +65,12 @@ const HistoryIcon: FunctionComponent<{
|
|||
|
||||
if (icon) {
|
||||
return (
|
||||
<Tooltip label={label} openDelay={500} position="right">
|
||||
<Tooltip
|
||||
label={label}
|
||||
openDelay={500}
|
||||
position="right"
|
||||
events={{ hover: true, focus: false, touch: true }}
|
||||
>
|
||||
<FontAwesomeIcon
|
||||
aria-label={label}
|
||||
title={title}
|
||||
|
|
|
@ -62,6 +62,7 @@ const ItemOverview: FunctionComponent<Props> = (props) => {
|
|||
label={item.path}
|
||||
multiline
|
||||
style={{ overflowWrap: "anywhere" }}
|
||||
events={{ hover: true, focus: false, touch: true }}
|
||||
>
|
||||
<span>{item.path}</span>
|
||||
</Tooltip>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue