mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
better scroll dialog
This commit is contained in:
parent
782ef41eda
commit
0c2229d9af
13 changed files with 221 additions and 27 deletions
|
@ -33,14 +33,10 @@ const ModalUnconnected: FC<IProps> = ({
|
|||
<div className={styles.fixed}>
|
||||
<div className={styles.overlay} onClick={onRequestClose} />
|
||||
<div className={styles.content}>
|
||||
<div className={styles.content_scroller}>
|
||||
<div className={styles.content_padder}>
|
||||
{React.createElement(DIALOG_CONTENT[dialog], {
|
||||
onRequestClose,
|
||||
onDialogChange: modalShowDialog,
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
{React.createElement(DIALOG_CONTENT[dialog], {
|
||||
onRequestClose,
|
||||
onDialogChange: modalShowDialog,
|
||||
})}
|
||||
</div>
|
||||
</div>,
|
||||
document.body
|
||||
|
@ -53,3 +49,12 @@ const Modal = connect(
|
|||
)(ModalUnconnected);
|
||||
|
||||
export { ModalUnconnected, Modal };
|
||||
|
||||
/*
|
||||
|
||||
<div className={styles.content_scroller}>
|
||||
<div className={styles.content_padder}>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue