fix(hibp): move the progress pill off the sidebar and abort the scan on toggle-off
The pill was pinned to the left edge and covered the navigation, hiding Trash. It also kept counting after Breach check disabled, the workers carrying on with one network round-trip per entry.
This commit is contained in:
+4
-1
@@ -2347,7 +2347,9 @@ body[data-editor-position="center"]:has(#settingsPanel.is-open)::before {
|
||||
stack bottom-right. Non-blocking: no backdrop, no pointer capture. */
|
||||
.hibp-progress {
|
||||
position: fixed;
|
||||
left: 16px; bottom: 16px;
|
||||
/* Clear of the 240px sidebar — pinned to the left edge it sat on top of the
|
||||
navigation and hid Trash. Left of the toasts, which stack bottom-right. */
|
||||
left: 256px; bottom: 16px;
|
||||
z-index: 150;
|
||||
display: flex; align-items: center; gap: 8px;
|
||||
padding: 8px 12px;
|
||||
@@ -2666,6 +2668,7 @@ body[data-editor-position="center"]:has(#settingsPanel.is-open)::before {
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.app-shell { grid-template-columns: 60px 1fr; }
|
||||
.hibp-progress { left: 76px; } /* the sidebar collapses to 60px here */
|
||||
.sidebar { padding: 12px 6px; }
|
||||
.sidebar-brand span,
|
||||
.nav-item > span:first-of-type,
|
||||
|
||||
Reference in New Issue
Block a user