🐛 fix(select-custom.tsx): add left padding to SelectItem component to align text properly
🐛 fix(nodeToolbarComponent/index.tsx): change "Advanced" text to "Edit" in NodeToolbarComponent for better clarity
This commit is contained in:
parent
ad33deb1a3
commit
2ea814fd64
2 changed files with 3 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ const SelectItem = React.forwardRef<
|
||||||
<SelectPrimitive.Item
|
<SelectPrimitive.Item
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={cn(
|
className={cn(
|
||||||
"relative flex w-full cursor-pointer select-none items-center justify-center rounded-sm py-1.5 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
"relative flex w-full cursor-pointer select-none items-center pl-3 rounded-sm py-1.5 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@ export default function NodeToolbarComponent({ data, setData, deleteNode }) {
|
||||||
name="Settings2"
|
name="Settings2"
|
||||||
className="relative top-0.5 mr-2 h-4 w-4"
|
className="relative top-0.5 mr-2 h-4 w-4"
|
||||||
/>{" "}
|
/>{" "}
|
||||||
Advanced{" "}
|
Edit{" "}
|
||||||
</div>{" "}
|
</div>{" "}
|
||||||
</SelectItem>
|
</SelectItem>
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue