summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2025-10-20 14:26:05 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2025-10-20 14:26:05 -0400
commit8dcfea10e22d783a8adc6b1564e10bd32777a665 (patch)
tree4b07e7260ce2530fd9a1b1a0c2a9cc5412d967a5 /src
parentf2a2f4a126c5b60a2f8115c850883ccb8d736825 (diff)
downloaddecky-lsfg-vk-8dcfea10e22d783a8adc6b1564e10bd32777a665.tar.gz
decky-lsfg-vk-8dcfea10e22d783a8adc6b1564e10bd32777a665.zip
chore: compact spacing for collapsibles
Diffstat (limited to 'src')
-rw-r--r--src/components/ConfigurationSection.tsx22
-rw-r--r--src/components/FpsMultiplierControl.tsx4
-rw-r--r--src/components/ProfileManagement.tsx11
3 files changed, 23 insertions, 14 deletions
diff --git a/src/components/ConfigurationSection.tsx b/src/components/ConfigurationSection.tsx
index eeacf05..0734297 100644
--- a/src/components/ConfigurationSection.tsx
+++ b/src/components/ConfigurationSection.tsx
@@ -77,10 +77,10 @@ export function ConfigurationSection({
style={{
fontSize: "14px",
fontWeight: "bold",
- marginTop: "16px",
- marginBottom: "8px",
+ marginTop: "8px",
+ marginBottom: "6px",
borderBottom: "1px solid rgba(255, 255, 255, 0.2)",
- paddingBottom: "4px",
+ paddingBottom: "3px",
color: "white"
}}
>
@@ -89,7 +89,10 @@ export function ConfigurationSection({
</PanelSectionRow>
<PanelSectionRow>
- <div className="LSFG_ConfigCollapseButton_Container">
+ <div
+ className="LSFG_ConfigCollapseButton_Container"
+ style={{ marginTop: "-2px", marginBottom: "4px" }}
+ >
<ButtonItem
layout="below"
bottomSeparator={configCollapsed ? "standard" : "none"}
@@ -169,10 +172,10 @@ export function ConfigurationSection({
style={{
fontSize: "14px",
fontWeight: "bold",
- marginTop: "16px",
- marginBottom: "8px",
+ marginTop: "8px",
+ marginBottom: "6px",
borderBottom: "1px solid rgba(255, 255, 255, 0.2)",
- paddingBottom: "4px",
+ paddingBottom: "3px",
color: "white"
}}
>
@@ -181,7 +184,10 @@ export function ConfigurationSection({
</PanelSectionRow>
<PanelSectionRow>
- <div className="LSFG_WorkaroundsCollapseButton_Container">
+ <div
+ className="LSFG_WorkaroundsCollapseButton_Container"
+ style={{ marginTop: "-2px", marginBottom: "4px" }}
+ >
<ButtonItem
layout="below"
bottomSeparator={workaroundsCollapsed ? "standard" : "none"}
diff --git a/src/components/FpsMultiplierControl.tsx b/src/components/FpsMultiplierControl.tsx
index 49d2cd9..5ac31bb 100644
--- a/src/components/FpsMultiplierControl.tsx
+++ b/src/components/FpsMultiplierControl.tsx
@@ -15,8 +15,8 @@ export function FpsMultiplierControl({
<PanelSectionRow>
<Focusable
style={{
- marginTop: "10px",
- marginBottom: "10px",
+ marginTop: "6px",
+ marginBottom: "6px",
display: "flex",
justifyContent: "center",
alignItems: "center"
diff --git a/src/components/ProfileManagement.tsx b/src/components/ProfileManagement.tsx
index d3d15a9..62160d9 100644
--- a/src/components/ProfileManagement.tsx
+++ b/src/components/ProfileManagement.tsx
@@ -367,10 +367,10 @@ export function ProfileManagement({ currentProfile, onProfileChange }: ProfileMa
style={{
fontSize: "14px",
fontWeight: "bold",
- marginTop: "16px",
- marginBottom: "8px",
+ marginTop: "8px",
+ marginBottom: "6px",
borderBottom: "1px solid rgba(255, 255, 255, 0.2)",
- paddingBottom: "4px",
+ paddingBottom: "3px",
color: "white"
}}
>
@@ -379,7 +379,10 @@ export function ProfileManagement({ currentProfile, onProfileChange }: ProfileMa
</PanelSectionRow>
<PanelSectionRow>
- <div className="LSFG_ProfilesCollapseButton_Container">
+ <div
+ className="LSFG_ProfilesCollapseButton_Container"
+ style={{ marginTop: "-2px", marginBottom: "4px" }}
+ >
<ButtonItem
layout="below"
bottomSeparator={profilesCollapsed ? "standard" : "none"}