Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix modal content height. Closes #2070

Gabe Kangas89448e14ba81
diff --git a/web/components/ui/Modal/Modal.tsx b/web/components/ui/Modal/Modal.tsx
index 8be798029a..d80ebf0de7 100644
--- a/web/components/ui/Modal/Modal.tsx
+++ b/web/components/ui/Modal/Modal.tsx
@@ -34,7 +34,7 @@ export const Modal: FC<ModalProps> = ({
defaultWidth = '900px';
}
- const modalStyle = {
+ const modalContentBodyStyle = {
padding: '0px',
minHeight: height,
height: height ?? defaultHeight,
@@ -64,14 +64,14 @@ export const Modal: FC<ModalProps> = ({
onOk={handleOk}
onCancel={handleCancel}
afterClose={afterClose}
- bodyStyle={modalStyle}
+ bodyStyle={modalContentBodyStyle}
width={width ?? defaultWidth}
zIndex={999}
footer={null}
centered
destroyOnClose
>
- <div id="modal-container">
+ <div id="modal-container" style={{ height: '100%' }}>
{loading && (
<Skeleton active={loading} style={{ padding: '10px' }} paragraph={{ rows: 10 }} />
)}