fix: Improve hide-output button alignment in GenericNode component (#5645)
🔧 (GenericNode/index.tsx): Update CSS class for HiddenOutputsButton to improve styling and alignment 🔧 (GenericNode/index.tsx): Update CSS class for GenericNode component to improve alignment of elements
This commit is contained in:
parent
6ad6227f14
commit
88fa784291
1 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ const HiddenOutputsButton = memo(
|
|||
}) => (
|
||||
<Button
|
||||
unstyled
|
||||
className="group m-auto h-[1.75rem] w-[1.75rem] place-items-center items-center rounded-full border bg-muted hover:text-foreground"
|
||||
className="group flex h-[1.75rem] w-[1.75rem] items-center justify-center rounded-full border bg-muted hover:text-foreground"
|
||||
onClick={onClick}
|
||||
>
|
||||
<ForwardedIconComponent
|
||||
|
|
@ -461,7 +461,7 @@ function GenericNode({
|
|||
>
|
||||
<div
|
||||
className={cn(
|
||||
"absolute left-0 right-0 flex justify-center",
|
||||
"absolute left-1/2 flex -translate-x-1/2 justify-center",
|
||||
(shownOutputs && shownOutputs.length > 0) ||
|
||||
showHiddenOutputs
|
||||
? "bottom-[-0.8rem]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue