From 4f503e373a652fed4267345e99d7dbfc4b468df5 Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Mon, 13 Jul 2026 06:47:51 +0800 Subject: [PATCH] fix(plugin): use Focusable for compact styled View Details button --- .../src/components/LibraryAppPanel.tsx | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/plugins/decky-vault/src/components/LibraryAppPanel.tsx b/plugins/decky-vault/src/components/LibraryAppPanel.tsx index 1cc7e5b..ec6cb79 100644 --- a/plugins/decky-vault/src/components/LibraryAppPanel.tsx +++ b/plugins/decky-vault/src/components/LibraryAppPanel.tsx @@ -1,5 +1,5 @@ import { useEffect, useState, useRef } from "react" -import { PanelSectionRow, ButtonItem, staticClasses } from "@decky/ui" +import { PanelSectionRow, Focusable, staticClasses } from "@decky/ui" import { Router } from "@decky/ui" import { fetchPluginGame, @@ -130,12 +130,20 @@ export default function LibraryAppPanel({ appId, title, hardwareSlug, baseUrl }: {detectedSlug ? detectedSlug : ⚠ global} - {/* View Details — compact, gamepad-navigable */} - - openExternalUrl(gameUrl)}> + {/* View Details — compact, gamepad-navigable via Focusable */} + openExternalUrl(gameUrl)} style={{ flexShrink: 0 }}> + View Details - - + + )