Skip to content

Commit 51f74ff

Browse files
authored
🤖 fix: align favorite star icon with edit/delete buttons in model settings (#805)
_Generated with `mux`_ Changed `TooltipWrapper` inline mode from `inline-block` to `inline-flex items-center` to properly center-align wrapped buttons within flex containers. This fixes the misaligned favorite star icon in the Models settings tab - now aligns with the edit and delete buttons on both custom and built-in model rows.
1 parent b25b572 commit 51f74ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/browser/components/Tooltip.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const TooltipWrapper: React.FC<TooltipWrapperProps> = ({ inline = false,
4646
<TooltipContext.Provider value={{ isHovered, setIsHovered, triggerRef }}>
4747
<span
4848
ref={triggerRef}
49-
className={cn("relative", inline ? "inline-block" : "block")}
49+
className={cn("relative", inline ? "inline-flex items-center" : "block")}
5050
onMouseEnter={handleMouseEnter}
5151
onMouseLeave={handleMouseLeave}
5252
>

0 commit comments

Comments
 (0)