From 6cd9e33e657cd85ab16b1f03631b20fcb8cb4e55 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 23 Mar 2026 10:41:36 +0000 Subject: [PATCH] Refactor annotation delete button styles for improved UI consistency --- dicom-viewer/src/App.tsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dicom-viewer/src/App.tsx b/dicom-viewer/src/App.tsx index 061aed3..179d38a 100644 --- a/dicom-viewer/src/App.tsx +++ b/dicom-viewer/src/App.tsx @@ -3179,17 +3179,18 @@ function App({ container_id, imageStacks, autoCacheStack, annotationJson, viewer background: "transparent", color: "#f44336", border: "1px solid #f44336", - borderRadius: 4, - width: 20, - height: 20, - fontSize: 12, + borderRadius: 3, + width: 16, + height: 16, + fontSize: 10, lineHeight: 1, cursor: "pointer", - marginLeft: 6, + marginLeft: 4, display: "flex", alignItems: "center", justifyContent: "center", opacity: 0.95, + padding: 0, }} title="Delete this annotation" aria-label="Delete annotation"