Fix invite modal styling
This commit is contained in:
parent
8eefc0ce50
commit
d43e85ecc2
2 changed files with 15 additions and 2 deletions
|
@ -2,13 +2,19 @@ import React from "react";
|
|||
import { Modal, ModalContent } from "./Modal";
|
||||
import { CopyButton } from "./button";
|
||||
import { getRoomUrl } from "./ConferenceCallManagerHooks";
|
||||
import styles from "./InviteModal.module.css";
|
||||
|
||||
export function InviteModal({ roomId, ...rest }) {
|
||||
return (
|
||||
<Modal title="Invite People" isDismissable {...rest}>
|
||||
<Modal
|
||||
title="Invite People"
|
||||
isDismissable
|
||||
className={styles.inviteModal}
|
||||
{...rest}
|
||||
>
|
||||
<ModalContent>
|
||||
<p>Copy and share this meeting link</p>
|
||||
<CopyButton value={getRoomUrl(roomId)} />
|
||||
<CopyButton className={styles.copyButton} value={getRoomUrl(roomId)} />
|
||||
</ModalContent>
|
||||
</Modal>
|
||||
);
|
||||
|
|
7
src/InviteModal.module.css
Normal file
7
src/InviteModal.module.css
Normal file
|
@ -0,0 +1,7 @@
|
|||
.inviteModal {
|
||||
max-width: 413px;
|
||||
}
|
||||
|
||||
.copyButton {
|
||||
width: 100%;
|
||||
}
|
Loading…
Add table
Reference in a new issue