From 3009706795fcf6fb44d25c1458f24c0714822352 Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Mon, 20 Oct 2025 09:59:29 -0400
Subject: feat: mv edit and delete profile buttons to share one row

---
 src/components/ProfileManagement.tsx | 60 ++++++++++++++++++++++++++----------
 1 file changed, 43 insertions(+), 17 deletions(-)

(limited to 'src/components/ProfileManagement.tsx')

diff --git a/src/components/ProfileManagement.tsx b/src/components/ProfileManagement.tsx
index 6e2a8f8..7504ca4 100644
--- a/src/components/ProfileManagement.tsx
+++ b/src/components/ProfileManagement.tsx
@@ -14,7 +14,7 @@ import {
   AppOverview,
   Router
 } from "@decky/ui";
-import { RiArrowDownSFill, RiArrowUpSFill } from "react-icons/ri";
+import { RiArrowDownSFill, RiArrowUpSFill, RiEditLine, RiDeleteBinLine } from "react-icons/ri";
 import { 
   getProfiles, 
   createProfile, 
@@ -416,23 +416,49 @@ export function ProfileManagement({ currentProfile, onProfileChange }: ProfileMa
           </PanelSectionRow>
           
           <PanelSectionRow>
-            <ButtonItem
-              layout="below"
-              onClick={handleRenameProfile}
-              disabled={isLoading || selectedProfile === "decky-lsfg-vk" || !!mainRunningApp}
+            <Focusable
+              style={{
+                display: "flex",
+                alignItems: "center",
+                gap: "8px",
+                width: "100%",
+                padding: "0",
+                margin: "0"
+              }}
+              flow-children="horizontal"
             >
-              Rename
-            </ButtonItem>
-          </PanelSectionRow>
-          
-          <PanelSectionRow>
-            <ButtonItem
-              layout="below"
-              onClick={handleDeleteProfile}
-              disabled={isLoading || selectedProfile === "decky-lsfg-vk" || !!mainRunningApp}
-            >
-              Delete
-            </ButtonItem>
+              <DialogButton
+                style={{
+                  height: "40px",
+                  flex: 1,
+                  display: "flex",
+                  alignItems: "center",
+                  justifyContent: "center",
+                  padding: "10px",
+                  minWidth: "0",
+                }}
+                onClick={handleRenameProfile}
+                disabled={isLoading || selectedProfile === "decky-lsfg-vk" || !!mainRunningApp}
+              >
+                <RiEditLine size={20} />
+              </DialogButton>
+              
+              <DialogButton
+                style={{
+                  height: "40px",
+                  flex: 1,
+                  display: "flex",
+                  alignItems: "center",
+                  justifyContent: "center",
+                  padding: "10px",
+                  minWidth: "0",
+                }}
+                onClick={handleDeleteProfile}
+                disabled={isLoading || selectedProfile === "decky-lsfg-vk" || !!mainRunningApp}
+              >
+                <RiDeleteBinLine size={20} />
+              </DialogButton>
+            </Focusable>
           </PanelSectionRow>
         </>
       )}
-- 
cgit v1.2.3


From 2e4f52af98e63d8437c7ea5805eafcb1ece77b94 Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Mon, 20 Oct 2025 10:14:59 -0400
Subject: chore: rm awk separator

---
 src/components/ProfileManagement.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/components/ProfileManagement.tsx')

diff --git a/src/components/ProfileManagement.tsx b/src/components/ProfileManagement.tsx
index 7504ca4..d3d15a9 100644
--- a/src/components/ProfileManagement.tsx
+++ b/src/components/ProfileManagement.tsx
@@ -405,6 +405,7 @@ export function ProfileManagement({ currentProfile, onProfileChange }: ProfileMa
               label=""
               childrenLayout="below"
               childrenContainerWidth="max"
+              bottomSeparator="none"
             >
               <Dropdown
                 rgOptions={profileOptions}
@@ -423,7 +424,8 @@ export function ProfileManagement({ currentProfile, onProfileChange }: ProfileMa
                 gap: "8px",
                 width: "100%",
                 padding: "0",
-                margin: "0"
+                margin: "0",
+                marginTop: "8px"
               }}
               flow-children="horizontal"
             >
-- 
cgit v1.2.3

