Fix styling issues and add delete icon
This commit is contained in:
parent
4aefcb03a7
commit
09202b36a7
3 changed files with 8 additions and 3 deletions
|
|
@ -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}>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue