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 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 { STATUS_ERROR, STATUS_SUCCESS } from '../utils/input-statuses';
|
||||||
import { fetchData, FEDERATION_MESSAGE_SEND } from '../utils/apis';
|
import { fetchData, FEDERATION_MESSAGE_SEND } from '../utils/apis';
|
||||||
|
|
||||||
@ -67,16 +67,14 @@ export const ComposeFederatedPost: FC<ComposeFederatedPostProps> = ({ visible, h
|
|||||||
</Button>,
|
</Button>,
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
<Space id="fediverse-post-container" direction="vertical">
|
|
||||||
<TextArea
|
<TextArea
|
||||||
placeholder="Tell the world about your streaming plans..."
|
placeholder="Tell the world about your streaming plans..."
|
||||||
size="large"
|
size="large"
|
||||||
showCount
|
showCount
|
||||||
maxLength={500}
|
maxLength={500}
|
||||||
style={{ height: '150px' }}
|
style={{ height: '150px', width: '100%' }}
|
||||||
onChange={handleEditorChange}
|
onChange={handleEditorChange}
|
||||||
/>
|
/>
|
||||||
</Space>
|
|
||||||
</Modal>
|
</Modal>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user