fix(plugin): constrain View Details button width to 130px

This commit is contained in:
2026-07-13 06:55:44 +08:00
parent c02ae28982
commit 2a1943cf35
@@ -130,10 +130,12 @@ export default function LibraryAppPanel({ appId, title, hardwareSlug, baseUrl }:
{detectedSlug ? detectedSlug : <span style={{ color: "#e0a030" }}> global</span>}
</span>
</span>
{/* View Details — compact gamepad button */}
<DialogButtonPrimary onClick={() => openExternalUrl(gameUrl)} style={{ flexShrink: 0, whiteSpace: "nowrap" }}>
View Details
</DialogButtonPrimary>
{/* View Details — constrained width */}
<div style={{ flexShrink: 0, width: "130px" }}>
<DialogButtonPrimary onClick={() => openExternalUrl(gameUrl)}>
View Details
</DialogButtonPrimary>
</div>
</div>
</PanelSectionRow>
)