aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/VencordSettings/ThemesTab.tsx6
-rw-r--r--src/components/VencordSettings/settingsStyles.css8
2 files changed, 9 insertions, 5 deletions
diff --git a/src/components/VencordSettings/ThemesTab.tsx b/src/components/VencordSettings/ThemesTab.tsx
index b8381f7..f254aff 100644
--- a/src/components/VencordSettings/ThemesTab.tsx
+++ b/src/components/VencordSettings/ThemesTab.tsx
@@ -116,13 +116,9 @@ export default ErrorBoundary.wrap(function () {
</Card>
<Forms.FormTitle tag="h5">Themes</Forms.FormTitle>
<TextArea
- style={{
- padding: ".5em",
- border: "1px solid var(--background-modifier-accent)"
- }}
value={themeText}
onChange={e => setThemeText(e.currentTarget.value)}
- className={TextAreaProps.textarea}
+ className={`${TextAreaProps.textarea} vc-settings-theme-links`}
placeholder="Theme Links"
spellCheck={false}
onBlur={onBlur}
diff --git a/src/components/VencordSettings/settingsStyles.css b/src/components/VencordSettings/settingsStyles.css
index 76064be..709c823 100644
--- a/src/components/VencordSettings/settingsStyles.css
+++ b/src/components/VencordSettings/settingsStyles.css
@@ -38,3 +38,11 @@
color: var(--info-warning-text);
margin-top: 0;
}
+
+.vc-settings-theme-links {
+ /* Needed to fix bad themes that hide certain textarea elements for whatever eldritch reason */
+ display: inline-block !important;
+ color: var(--text-normal) !important;
+ padding: 0.5em;
+ border: 1px solid var(--background-modifier-accent);
+}