Fix styling issues and add delete icon

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-02-25 12:18:36 -03:00
commit 09202b36a7
3 changed files with 8 additions and 3 deletions

View file

@ -324,7 +324,9 @@ export default function ParameterComponent({
) : (
title
)}
<span className={(info === '' ? '' : 'ml-1 ') + " text-status-red"}>{required ? " *" : ""}</span>
<span className={(info === "" ? "" : "ml-1 ") + " text-status-red"}>
{required ? " *" : ""}
</span>
<div className="">
{info !== "" && (
<ShadTooltip content={infoHtml.current}>

View file

@ -396,7 +396,10 @@ export default function NodeToolbarComponent({
/>{" "}
<span className="">Delete</span>{" "}
<span>
<IconComponent name="Delete" className="text-red-300 absolute right-2 top-2 h-4 w-4"></IconComponent>
<IconComponent
name="Delete"
className="absolute right-2 top-2 h-4 w-4 text-red-300"
></IconComponent>
</span>
</div>
</SelectItem>

View file

@ -25,6 +25,7 @@ import {
Compass,
Copy,
Cpu,
Delete,
Download,
DownloadCloud,
Edit,
@ -117,7 +118,6 @@ import {
X,
XCircle,
Zap,
Delete,
} from "lucide-react";
import { FaApple, FaGithub } from "react-icons/fa";
import { AWSIcon } from "../icons/AWS";