mirror of https://github.com/morpheus65535/bazarr
Fixed some UI issues caused by React and Mantine upgrade. #2167
This commit is contained in:
parent
3c57381bb4
commit
bc40abac50
|
@ -93,6 +93,7 @@ export function Selector<T>({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Select
|
<Select
|
||||||
|
withinPortal={true}
|
||||||
data={data}
|
data={data}
|
||||||
defaultValue={wrappedDefaultValue}
|
defaultValue={wrappedDefaultValue}
|
||||||
value={wrappedValue}
|
value={wrappedValue}
|
||||||
|
|
|
@ -237,7 +237,7 @@ const StateIcon: FunctionComponent<{ matches: string[]; dont: string[] }> = ({
|
||||||
const { ref, hovered } = useHover();
|
const { ref, hovered } = useHover();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Popover opened={hovered} position="top" width={360} withArrow>
|
<Popover opened={hovered} position="top" width={360} withArrow withinPortal>
|
||||||
<Popover.Target>
|
<Popover.Target>
|
||||||
<Text color={hasIssues ? "yellow" : "green"} ref={ref}>
|
<Text color={hasIssues ? "yellow" : "green"} ref={ref}>
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
|
|
Loading…
Reference in New Issue