Refactor annotation delete button styles for improved UI consistency

This commit is contained in:
Ross
2026-03-23 10:41:36 +00:00
parent e161377245
commit 6cd9e33e65
+6 -5
View File
@@ -3179,17 +3179,18 @@ function App({ container_id, imageStacks, autoCacheStack, annotationJson, viewer
background: "transparent", background: "transparent",
color: "#f44336", color: "#f44336",
border: "1px solid #f44336", border: "1px solid #f44336",
borderRadius: 4, borderRadius: 3,
width: 20, width: 16,
height: 20, height: 16,
fontSize: 12, fontSize: 10,
lineHeight: 1, lineHeight: 1,
cursor: "pointer", cursor: "pointer",
marginLeft: 6, marginLeft: 4,
display: "flex", display: "flex",
alignItems: "center", alignItems: "center",
justifyContent: "center", justifyContent: "center",
opacity: 0.95, opacity: 0.95,
padding: 0,
}} }}
title="Delete this annotation" title="Delete this annotation"
aria-label="Delete annotation" aria-label="Delete annotation"