mirror of
https://github.com/twentyhq/twenty.git
synced 2026-06-14 02:47:57 -04:00
Fix hover on standalone button FloatingIconButtonGroup (#1709)
- fix hover on standalone button FloatingIconButtonGroup
This commit is contained in:
@@ -37,7 +37,9 @@ export const FloatingIconButtonGroup = ({
|
||||
<StyledFloatingIconButtonGroupContainer>
|
||||
{iconButtons.map(({ Icon, onClick }, index) => {
|
||||
const position: FloatingIconButtonPosition =
|
||||
index === 0
|
||||
iconButtons.length === 1
|
||||
? 'standalone'
|
||||
: index === 0
|
||||
? 'left'
|
||||
: index === iconButtons.length - 1
|
||||
? 'right'
|
||||
|
||||
Reference in New Issue
Block a user