From 01f81a19127f6a50ebc3ecfd81f26736d95423cd Mon Sep 17 00:00:00 2001 From: Dorian Date: Mon, 16 Mar 2026 16:53:25 +0000 Subject: [PATCH] fix: LND UI field overflow, Tor auto-detect, path fix - Fix .onion address overflow: add min-width:0 to flex children - Reduce field font size for long addresses - Auto-select Local Network mode when Tor unavailable - Fix Tor hidden service paths on Arch 1/3 (was /var/lib/tor/, backend reads /var/lib/archipelago/tor/) Co-Authored-By: Claude Opus 4.6 (1M context) --- docker/lnd-ui/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/lnd-ui/index.html b/docker/lnd-ui/index.html index c807e705..df13a439 100644 --- a/docker/lnd-ui/index.html +++ b/docker/lnd-ui/index.html @@ -116,10 +116,10 @@ @media (min-width: 640px) { .conn-layout { flex-direction: row; } } .qr-box { flex-shrink: 0; width: 196px; height: 196px; background: white; border-radius: 0.75rem; padding: 0.5rem; display: flex; align-items: center; justify-content: center; } .qr-box img { width: 100%; height: auto; display: block; image-rendering: pixelated; } - .conn-fields { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; } + .conn-fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.75rem; } .field-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.45); margin-bottom: 0.25rem; } - .field-row { display: flex; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.5rem; overflow: hidden; } - .field-value { flex: 1; padding: 0.625rem 0.875rem; font-family: monospace; font-size: 0.9375rem; color: rgba(255,255,255,0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } + .field-row { display: flex; align-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.5rem; overflow: hidden; min-width: 0; } + .field-value { flex: 1; min-width: 0; padding: 0.625rem 0.875rem; font-family: monospace; font-size: 0.8125rem; color: rgba(255,255,255,0.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .copy-btn { padding: 0.625rem 0.75rem; background: none; border: none; border-left: 1px solid rgba(255,255,255,0.1); cursor: pointer; color: rgba(255,255,255,0.4); transition: all 0.2s ease; display: flex; align-items: center; } .copy-btn:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.05); } .copy-btn.copied { color: #4ade80; }