From d1ce2d0e2a5d923caa8cb150f9006e96ed8f99c8 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 29 May 2026 16:03:24 -0400 Subject: [PATCH] ProfileSets: Move buttons around downtown --- .../profileSets/components/presetList.tsx | 4 +- .../profileSets/components/presetManager.tsx | 60 ++++++++----------- src/equicordplugins/profileSets/styles.css | 24 +------- 3 files changed, 29 insertions(+), 59 deletions(-) diff --git a/src/equicordplugins/profileSets/components/presetList.tsx b/src/equicordplugins/profileSets/components/presetList.tsx index 61bf18ce6..58dbd9d64 100644 --- a/src/equicordplugins/profileSets/components/presetList.tsx +++ b/src/equicordplugins/profileSets/components/presetList.tsx @@ -68,6 +68,8 @@ export function PresetList({ onUpdate(); }; + const showMoveOptions = actualIndex > 0 || actualIndex < allPresets.length - 1 || currentPage > 1; + return (
)} - + {showMoveOptions && } )} + +
+
+ +
{hasPresets && ( @@ -245,41 +270,6 @@ export function PresetManager({ section, guildId }: PresetManagerProps) {
)} - -
- - - -

{resolvedSection === "server" && (
diff --git a/src/equicordplugins/profileSets/styles.css b/src/equicordplugins/profileSets/styles.css index ab12ccf87..40a99482c 100644 --- a/src/equicordplugins/profileSets/styles.css +++ b/src/equicordplugins/profileSets/styles.css @@ -99,28 +99,6 @@ margin-bottom: 16px; } -.vc-profile-presets-random { - background: linear-gradient(135deg, #ff5f6d 0%, #ffc371 50%, #8a7bff 100%); - color: #fff; - border: none; -} - -.vc-profile-presets-random:hover { - filter: brightness(1.05); -} - -.vc-profile-presets-random-content { - display: inline-flex; - align-items: center; - gap: 6px; -} - -.vc-profile-presets-random-icon { - width: 16px; - height: 16px; - display: inline-block; -} - .vc-profile-presets-block { margin: 16px 0; border: none; @@ -234,4 +212,4 @@ border: 2px solid var(--background-modifier-accent); border-radius: 4px; color: var(--text-default); -} +} \ No newline at end of file