diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2025-07-30 12:55:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-30 12:55:00 -0700 |
| commit | da9c3c8ec04933e921cce0929734a096b7e544fc (patch) | |
| tree | 808580ac03d3a2815055b4ed219562e7affd16df /src/components | |
| parent | b04fa027f7291710359bb6c4a8c1d0ebb85d53e5 (diff) | |
| parent | e8dc90a60ff4d9da00397dd8dbdff72bae0e9359 (diff) | |
| download | decky-lsfg-vk-da9c3c8ec04933e921cce0929734a096b7e544fc.tar.gz decky-lsfg-vk-da9c3c8ec04933e921cce0929734a096b7e544fc.zip | |
Merge pull request #102 from xXJSONDeruloXx/lsfg-vk-9.0-upstream
initial test to build on noui package based on upstream build of lsfg…
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/NerdStuffModal.tsx | 10 |
1 files changed, 7 insertions, 3 deletions
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"} </pre> @@ -165,6 +165,10 @@ export function NerdStuffModal({ closeModal }: NerdStuffModalProps) { )} </Field> )} + + <Button onClick={closeModal}> + Close + </Button> </> )} </ModalRoot> |
