Skip to content

Commit

Permalink
Broken-Tooltips-in-Ribbon: Broken Tooltips in Ribbon
Browse files Browse the repository at this point in the history
Fixes #1293
  • Loading branch information
Ushcode committed Aug 1, 2024
1 parent ac9d0fb commit 55430bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function RibbonComponentClick(props: Readonly<RibbonComponentClic
enterDelay={1000}
leaveDelay={100}
placement="bottom-start">
<>
<div>
<div className={styles.ribbonComponentInner}>
<div className={styles.ribbonComponentIcon}>
<IconComponent icon={props.icon} />
Expand All @@ -35,7 +35,7 @@ export default function RibbonComponentClick(props: Readonly<RibbonComponentClic
</div>
}
</div>
</>
</div>
</Tooltip>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function RibbonComponentOptions(props: Readonly<RibbonComponentOp
leaveDelay={100}
placement="bottom-start">

<>
<div>
<div className={innerClass} onClick={props.action}>
<div className={styles.ribbonComponentIcon}>
<IconComponent icon={props.icon} />
Expand All @@ -93,7 +93,7 @@ export default function RibbonComponentOptions(props: Readonly<RibbonComponentOp
</Icon>
</div>
{expanded && dropdown}
</>
</div>
</Tooltip>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function RibbonComponentToggle(props: Readonly<RibbonComponentTog
leaveDelay={100}
placement="bottom-start">

<>
<div>
<div className={classNames.join(" ")}>
{props.icon &&
<div className={styles.ribbonComponentIcon}>
Expand All @@ -59,7 +59,7 @@ export default function RibbonComponentToggle(props: Readonly<RibbonComponentTog
{props.text}
</div>}
</div>
</>
</div>
</Tooltip>
</div>
);
Expand Down

0 comments on commit 55430bb

Please sign in to comment.