mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
Fix: Changing font reset overrides.
Fix: Left test string in friends.
This commit is contained in:
parent
e5b233e14e
commit
c246c2b77a
2 changed files with 3 additions and 7 deletions
|
@ -210,8 +210,6 @@ export default function Friends() {
|
||||||
</CollapsibleSection>
|
</CollapsibleSection>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|
||||||
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><h1>test</h1>
|
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
@ -152,7 +152,7 @@ export function Component(props: Props) {
|
||||||
<ComboBox
|
<ComboBox
|
||||||
value={theme.font ?? DEFAULT_FONT}
|
value={theme.font ?? DEFAULT_FONT}
|
||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
setTheme({ custom: { font: e.currentTarget.value as any } })
|
pushOverride({ font: e.currentTarget.value as any })
|
||||||
}>
|
}>
|
||||||
{FONT_KEYS.map((key) => (
|
{FONT_KEYS.map((key) => (
|
||||||
<option value={key}>
|
<option value={key}>
|
||||||
|
@ -335,10 +335,8 @@ export function Component(props: Props) {
|
||||||
<ComboBox
|
<ComboBox
|
||||||
value={theme.monoscapeFont ?? DEFAULT_MONO_FONT}
|
value={theme.monoscapeFont ?? DEFAULT_MONO_FONT}
|
||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
setTheme({
|
pushOverride({
|
||||||
custom: {
|
|
||||||
monoscapeFont: e.currentTarget.value as any,
|
monoscapeFont: e.currentTarget.value as any,
|
||||||
},
|
|
||||||
})
|
})
|
||||||
}>
|
}>
|
||||||
{MONOSCAPE_FONT_KEYS.map((key) => (
|
{MONOSCAPE_FONT_KEYS.map((key) => (
|
||||||
|
|
Loading…
Reference in a new issue