mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
Fix modals with horizontal form components.
Fix invite / friends menu having sidebars.
This commit is contained in:
@@ -54,13 +54,15 @@ export function InputModal({
|
||||
]}
|
||||
onClose={onClose}
|
||||
>
|
||||
{ field ? <Overline error={error} block>
|
||||
{field}
|
||||
</Overline> : (error && <Overline error={error} type="error" block />) }
|
||||
<InputBox
|
||||
value={value}
|
||||
onChange={e => setValue(e.currentTarget.value)}
|
||||
/>
|
||||
<form>
|
||||
{ field ? <Overline error={error} block>
|
||||
{field}
|
||||
</Overline> : (error && <Overline error={error} type="error" block />) }
|
||||
<InputBox
|
||||
value={value}
|
||||
onChange={e => setValue(e.currentTarget.value)}
|
||||
/>
|
||||
</form>
|
||||
</Modal>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user