fix: no more theme box obliteration (#707)
Co-authored-by: Ven <vendicated@riseup.net>
This commit is contained in:
parent
a00542b61b
commit
ee794d140f
@ -116,13 +116,9 @@ export default ErrorBoundary.wrap(function () {
|
|||||||
</Card>
|
</Card>
|
||||||
<Forms.FormTitle tag="h5">Themes</Forms.FormTitle>
|
<Forms.FormTitle tag="h5">Themes</Forms.FormTitle>
|
||||||
<TextArea
|
<TextArea
|
||||||
style={{
|
|
||||||
padding: ".5em",
|
|
||||||
border: "1px solid var(--background-modifier-accent)"
|
|
||||||
}}
|
|
||||||
value={themeText}
|
value={themeText}
|
||||||
onChange={e => setThemeText(e.currentTarget.value)}
|
onChange={e => setThemeText(e.currentTarget.value)}
|
||||||
className={TextAreaProps.textarea}
|
className={`${TextAreaProps.textarea} vc-settings-theme-links`}
|
||||||
placeholder="Theme Links"
|
placeholder="Theme Links"
|
||||||
spellCheck={false}
|
spellCheck={false}
|
||||||
onBlur={onBlur}
|
onBlur={onBlur}
|
||||||
|
@ -38,3 +38,11 @@
|
|||||||
color: var(--info-warning-text);
|
color: var(--info-warning-text);
|
||||||
margin-top: 0;
|
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);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user