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 title
)} )}
<span className={(info === '' ? '' : 'ml-1 ') + " text-status-red"}>{required ? " *" : ""}</span> <span className={(info === "" ? "" : "ml-1 ") + " text-status-red"}>
{required ? " *" : ""}
</span>
<div className=""> <div className="">
{info !== "" && ( {info !== "" && (
<ShadTooltip content={infoHtml.current}> <ShadTooltip content={infoHtml.current}>

View file

@ -396,7 +396,10 @@ export default function NodeToolbarComponent({
/>{" "} />{" "}
<span className="">Delete</span>{" "} <span className="">Delete</span>{" "}
<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> </span>
</div> </div>
</SelectItem> </SelectItem>

View file

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