From 05b927a077dc87342250b6fa261ec56d7dea8001 Mon Sep 17 00:00:00 2001 From: "Indiana Jone (Indi)" <150982280+KrstlSkll69@users.noreply.github.com> Date: Sat, 3 May 2025 00:26:41 -0400 Subject: [PATCH] Chore(Fix Case on VencordTab.tsx, Fix CSS for MoreUserTags & Platform Indicators) (#251) * Fix platform indicators CSS * format VencordTab.tsx Text Co-authored-by: Eazvy <57739965+Eazvy@users.noreply.github.com> * MoreUserTags CSS --------- Co-authored-by: Eazvy <57739965+Eazvy@users.noreply.github.com> --- src/components/VencordSettings/VencordTab.tsx | 6 +++--- src/equicordplugins/moreUserTags/styles.css | 11 +++++++++-- src/plugins/platformIndicators/style.css | 6 +----- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx index 53100ea9..b1908270 100644 --- a/src/components/VencordSettings/VencordTab.tsx +++ b/src/components/VencordSettings/VencordTab.tsx @@ -82,7 +82,7 @@ function EquicordSettings() { (!IS_DISCORD_DESKTOP || !isWindows ? { key: "frameless", - title: "Disable the window frame", + title: "Disable the Window Frame", note: "Requires a full restart", warning: { enabled: false }, } @@ -95,7 +95,7 @@ function EquicordSettings() { }), !IS_WEB && { key: "transparent", - title: "Enable window transparency.", + title: "Enable Window Transparency", note: "You need a theme that supports transparency or this will do nothing. Requires a full restart!", warning: { enabled: isWindows, @@ -112,7 +112,7 @@ function EquicordSettings() { }, IS_DISCORD_DESKTOP && { key: "disableMinSize", - title: "Disable minimum window size", + title: "Disable Minimum Window Size", note: "Requires a full restart", warning: { enabled: false }, }, diff --git a/src/equicordplugins/moreUserTags/styles.css b/src/equicordplugins/moreUserTags/styles.css index 41160325..bf6b34d4 100644 --- a/src/equicordplugins/moreUserTags/styles.css +++ b/src/equicordplugins/moreUserTags/styles.css @@ -1,10 +1,17 @@ +.vc-message-decorations-wrapper .vc-mut-message-tag { + margin-bottom: 1px; +} + +/* stylelint-disable-next-line no-descending-specificity */ .vc-mut-message-tag { /* Remove default margin from tags in messages */ margin-top: unset !important; /* Align with Discord default tags in messages */ - position: relative; - bottom: 0.01em; + /* stylelint-disable-next-line length-zero-no-unit */ + bottom: 0px; + top: -2px; + margin-right: 3px; } .vc-mut-message-verified { diff --git a/src/plugins/platformIndicators/style.css b/src/plugins/platformIndicators/style.css index a5566fdd..f05a4b61 100644 --- a/src/plugins/platformIndicators/style.css +++ b/src/plugins/platformIndicators/style.css @@ -6,10 +6,6 @@ } .vc-platform-indicator-profile { - background: rgb(var(--bg-overlay-color) / var(--bg-overlay-opacity-6)); - border: 1px solid var(--border-faint); - border-radius: var(--radius-xs); - border-color: var(--profile-body-border-color); margin: 0 1px; padding: 0 1px; } @@ -17,5 +13,5 @@ .vc-platform-indicator-message { position: relative; vertical-align: top; - top: 2px; + top: -1px; }