Commit 8c8ee01c authored by Alejandro Celaya's avatar Alejandro Celaya Committed by Alejandro Celaya

Override styling on notebook close button to make it more subtle when delete...

Override styling on notebook close button to make it more subtle when delete annotation modal is open
parent b8b48606
...@@ -124,6 +124,13 @@ export default function NotebookModal({ ...@@ -124,6 +124,13 @@ export default function NotebookModal({
title="Close the Notebook" title="Close the Notebook"
onClick={onClose} onClick={onClose}
variant="dark" variant="dark"
classes={classnames(
// Remove the dark variant's background color to avoid
// interfering with modal overlays. Re-activate the dark variant's
// background color on hover.
// See https://github.com/hypothesis/client/issues/3676
'!bg-transparent enabled:hover:!bg-grey-3'
)}
> >
<CancelIcon className="w-4 h-4" /> <CancelIcon className="w-4 h-4" />
</IconButton> </IconButton>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment