make tooltip position auto

pull/5370/head
Joseph Izang 2 years ago
parent 109b60ee36
commit 4d714b6774
  1. 3
      libs/remix-ui/vertical-icons-panel/src/lib/components/Icon.tsx

@ -86,7 +86,8 @@ const Icon = ({
return (
<>
<CustomTooltip
placement={'bottom'}
placement={name === 'settings' ? 'right' : name === 'search' ? 'bottom' :
name === 'udapp' ? 'bottom' : "top"}
tooltipText={title}
delay={{ show: 1000, hide: 0 }}
>

Loading…
Cancel
Save