fix: QR overlay visible — semi-transparent white backing instead of invisible

50% opacity on transparent bg = invisible on dark maps.
Now uses white 60% bg (light) / black 50% bg (dark) with full opacity SVG.
This commit is contained in:
you
2026-03-23 16:36:16 +00:00
parent 57484d9fa6
commit 9584dc3ca6
+3 -2
View File
@@ -1117,8 +1117,9 @@ button.ch-item.ch-item-encrypted .ch-badge { filter: grayscale(0.6); }
[data-theme="dark"] .node-qr svg rect[fill="#ffffff"] { fill: var(--card-bg); }
[data-theme="dark"] .node-qr svg rect[fill="#000000"] { fill: var(--text); }
.node-map-qr-wrap { position: relative; }
.node-map-qr-overlay { position: absolute; bottom: 8px; right: 8px; z-index: 400; background: none; border: none; padding: 0; }
.node-map-qr-overlay svg { max-width: 64px; display: block; opacity: 0.5; }
.node-map-qr-overlay { position: absolute; bottom: 8px; right: 8px; z-index: 400; background: rgba(255,255,255,0.6); border-radius: 4px; padding: 3px; }
.node-map-qr-overlay svg { max-width: 64px; display: block; }
[data-theme="dark"] .node-map-qr-overlay { background: rgba(0,0,0,0.5); }
[data-theme="dark"] .node-map-qr-overlay svg rect[fill="#000000"] { fill: var(--text); }
/* Replay on Live Map button in packet detail */