Fixed dialog box styles issue
This commit is contained in:
parent
af5a1526fa
commit
4e1b2376f0
1 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { DIALOG_CONTENT_TYPES } from "../../../config/modals.config.js";
|
||||
import { WindowedModal } from "../_utils/WindowedModal.jsx";
|
||||
import styles from "./DialogBox.module.css";
|
||||
|
||||
export function DialogBox({ modal, params, children, ...props }) {
|
||||
const onClick = (event) => {
|
||||
|
|
@ -14,6 +15,8 @@ export function DialogBox({ modal, params, children, ...props }) {
|
|||
};
|
||||
|
||||
return <WindowedModal modal={modal} params={params} onClick={onClick} {...props}>
|
||||
{children}
|
||||
<div className={styles["Dialog-content"]}>
|
||||
{children}
|
||||
</div>
|
||||
</WindowedModal>;
|
||||
}
|
||||
Loading…
Reference in a new issue