mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Fix text input width. Closes #2184
This commit is contained in:
parent
e0b7ae5b3a
commit
0e8f14a58a
@ -1,6 +1,6 @@
|
||||
import React, { FC, useState } from 'react';
|
||||
|
||||
import { Button, Space, Input, Modal } from 'antd';
|
||||
import { Button, Input, Modal } from 'antd';
|
||||
import { STATUS_ERROR, STATUS_SUCCESS } from '../utils/input-statuses';
|
||||
import { fetchData, FEDERATION_MESSAGE_SEND } from '../utils/apis';
|
||||
|
||||
@ -67,16 +67,14 @@ export const ComposeFederatedPost: FC<ComposeFederatedPostProps> = ({ visible, h
|
||||
</Button>,
|
||||
]}
|
||||
>
|
||||
<Space id="fediverse-post-container" direction="vertical">
|
||||
<TextArea
|
||||
placeholder="Tell the world about your streaming plans..."
|
||||
size="large"
|
||||
showCount
|
||||
maxLength={500}
|
||||
style={{ height: '150px' }}
|
||||
onChange={handleEditorChange}
|
||||
/>
|
||||
</Space>
|
||||
<TextArea
|
||||
placeholder="Tell the world about your streaming plans..."
|
||||
size="large"
|
||||
showCount
|
||||
maxLength={500}
|
||||
style={{ height: '150px', width: '100%' }}
|
||||
onChange={handleEditorChange}
|
||||
/>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user