From 2acb8111d87965ad9e3c6f1e4dc214cd49bf00c4 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Sat, 26 Jul 2025 23:33:28 -0400 Subject: add close button and longer modal section for config content --- src/components/NerdStuffModal.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/components/NerdStuffModal.tsx b/src/components/NerdStuffModal.tsx index 104e772..b5689c9 100644 --- a/src/components/NerdStuffModal.tsx +++ b/src/components/NerdStuffModal.tsx @@ -2,7 +2,8 @@ import { useState, useEffect } from "react"; import { ModalRoot, Field, - Focusable + Focusable, + Button } from "@decky/ui"; import { getDllStats, DllStatsResult, getConfigFileContent, getLaunchScriptContent, FileContentResult } from "../api/lsfgApi"; @@ -155,8 +156,7 @@ export function NerdStuffModal({ closeModal }: NerdStuffModalProps) { borderRadius: "4px", fontSize: "0.8em", whiteSpace: "pre-wrap", - overflow: "auto", - maxHeight: "200px" + overflow: "auto" }}> {configContent.content || "No content"} @@ -165,6 +165,10 @@ export function NerdStuffModal({ closeModal }: NerdStuffModalProps) { )} )} + + )} -- cgit v1.2.3