M: Fix height for tooltip
This commit is contained in:
parent
238a22b42f
commit
a47cebf456
|
@ -9,9 +9,11 @@ export function OperationTooltip() {
|
||||||
const hoverOperation = useOperationTooltipStore(state => state.activeOperation);
|
const hoverOperation = useOperationTooltipStore(state => state.activeOperation);
|
||||||
return (
|
return (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
|
clickable
|
||||||
id={globalIDs.operation_tooltip}
|
id={globalIDs.operation_tooltip}
|
||||||
layer='z-topmost'
|
layer='z-topmost'
|
||||||
className='max-w-[35rem] max-h-[40rem] dense'
|
className='max-w-[35rem] dense'
|
||||||
|
style={{ maxHeight: '30rem', overflowY: 'auto' }}
|
||||||
hidden={!hoverOperation}
|
hidden={!hoverOperation}
|
||||||
>
|
>
|
||||||
{hoverOperation ? <InfoOperation operation={hoverOperation} /> : null}
|
{hoverOperation ? <InfoOperation operation={hoverOperation} /> : null}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user