summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/NerdStuffModal.tsx18
1 files changed, 14 insertions, 4 deletions
diff --git a/src/components/NerdStuffModal.tsx b/src/components/NerdStuffModal.tsx
index 89a6547..b4a79a2 100644
--- a/src/components/NerdStuffModal.tsx
+++ b/src/components/NerdStuffModal.tsx
@@ -3,7 +3,9 @@ import {
ModalRoot,
Field,
Focusable,
- Button
+ DialogControlsSection,
+ PanelSectionRow,
+ ButtonItem
} from "@decky/ui";
import { getDllStats, DllStatsResult, getConfigFileContent, getLaunchScriptContent, FileContentResult } from "../api/lsfgApi";
@@ -166,9 +168,17 @@ export function NerdStuffModal({ closeModal }: NerdStuffModalProps) {
</Field>
)}
- <Button onClick={closeModal}>
- Close
- </Button>
+ {/* Close Button */}
+ <DialogControlsSection>
+ <PanelSectionRow>
+ <ButtonItem
+ layout="below"
+ onClick={closeModal}
+ >
+ Close
+ </ButtonItem>
+ </PanelSectionRow>
+ </DialogControlsSection>
</>
)}
</ModalRoot>