{images.map((image, index) => (
setHoveredIndex(index)}
onMouseLeave={() => setHoveredIndex(null)}>

handleImageClick(image)}
/>
{isDeletable && hoveredIndex === index && (
handleDelete(index)}
- className="absolute -top-1 -right-1 w-[13px] h-[13px] rounded-full bg-vscode-badge-background flex justify-center items-center cursor-pointer">
-
+ style={{
+ position: "absolute",
+ top: -4,
+ right: -4,
+ width: 13,
+ height: 13,
+ borderRadius: "50%",
+ backgroundColor: "var(--vscode-badge-background)",
+ display: "flex",
+ justifyContent: "center",
+ alignItems: "center",
+ cursor: "pointer",
+ }}>
+
)}
diff --git a/webview-ui/src/components/common/VSCodeButtonLink.tsx b/webview-ui/src/components/common/VSCodeButtonLink.tsx
index 819e8f4065..d0cd6b1c97 100644
--- a/webview-ui/src/components/common/VSCodeButtonLink.tsx
+++ b/webview-ui/src/components/common/VSCodeButtonLink.tsx
@@ -8,7 +8,12 @@ interface VSCodeButtonLinkProps {
}
export const VSCodeButtonLink = ({ href, children, ...props }: VSCodeButtonLinkProps) => (
-
+
{children}
)
diff --git a/webview-ui/src/components/history/HistoryPreview.tsx b/webview-ui/src/components/history/HistoryPreview.tsx
index f290b1ae58..080cbff3e2 100644
--- a/webview-ui/src/components/history/HistoryPreview.tsx
+++ b/webview-ui/src/components/history/HistoryPreview.tsx
@@ -29,11 +29,13 @@ const HistoryPreview = () => {
diff --git a/webview-ui/src/components/history/HistoryView.tsx b/webview-ui/src/components/history/HistoryView.tsx
index 2950aa8a65..bcb86a8d13 100644
--- a/webview-ui/src/components/history/HistoryView.tsx
+++ b/webview-ui/src/components/history/HistoryView.tsx
@@ -99,7 +99,7 @@ const HistoryView = ({ onDone }: HistoryViewProps) => {