fix(plugin): constrain View Details button width to 130px
This commit is contained in:
@@ -130,11 +130,13 @@ export default function LibraryAppPanel({ appId, title, hardwareSlug, baseUrl }:
|
|||||||
{detectedSlug ? detectedSlug : <span style={{ color: "#e0a030" }}>⚠ global</span>}
|
{detectedSlug ? detectedSlug : <span style={{ color: "#e0a030" }}>⚠ global</span>}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
{/* View Details — compact gamepad button */}
|
{/* View Details — constrained width */}
|
||||||
<DialogButtonPrimary onClick={() => openExternalUrl(gameUrl)} style={{ flexShrink: 0, whiteSpace: "nowrap" }}>
|
<div style={{ flexShrink: 0, width: "130px" }}>
|
||||||
|
<DialogButtonPrimary onClick={() => openExternalUrl(gameUrl)}>
|
||||||
View Details
|
View Details
|
||||||
</DialogButtonPrimary>
|
</DialogButtonPrimary>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</PanelSectionRow>
|
</PanelSectionRow>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user