feat(ui): per-app display-mode defaults (IndeeHub fullscreen) + gamepad plays media + node list scales
- Per-app default display mode: explicit user pick (remembered per app) -> app default -> last global -> panel; IndeeHub defaults to fullscreen. - data-controller-primary: a media file card's gamepad-select clicks the card (audio -> bottom-bar player, video -> lightbox) instead of the card's download link. - Discovered-nodes list scales with the viewport (max(14rem,45vh)) instead of cramming a long list into a fixed 224px box. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
960e41e164
commit
9f1daa0f8c
@@ -73,7 +73,9 @@
|
||||
<div v-else-if="discoveredNodes.length === 0" class="py-4 text-center text-white/40 text-xs">
|
||||
No discoverable nodes found yet. Nodes appear here as relays gossip their presence.
|
||||
</div>
|
||||
<div v-else class="space-y-2 max-h-56 overflow-y-auto pr-1">
|
||||
<!-- min 14rem, otherwise scale with the viewport so a long discovery
|
||||
list uses the screen instead of cramming into a fixed 224px box -->
|
||||
<div v-else class="space-y-2 max-h-[max(14rem,45vh)] overflow-y-auto pr-1">
|
||||
<div
|
||||
v-for="node in discoveredNodes"
|
||||
:key="node.nostr_pubkey"
|
||||
|
||||
Reference in New Issue
Block a user