mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed typos
This commit is contained in:
parent
6066c91060
commit
840af25df4
17 changed files with 438 additions and 125 deletions
|
@ -21,7 +21,6 @@ const ScrollDialog: FC<IProps> = ({
|
|||
children,
|
||||
title,
|
||||
buttons,
|
||||
size = "medium",
|
||||
width = 800,
|
||||
top_sticky,
|
||||
top_sticky_offset,
|
||||
|
@ -61,7 +60,7 @@ const ScrollDialog: FC<IProps> = ({
|
|||
<div
|
||||
className={classNames(styles.content, {
|
||||
has_buttons: !!buttons,
|
||||
has_title: !!title
|
||||
has_title: true
|
||||
})}
|
||||
style={{ flexBasis: width }}
|
||||
>
|
||||
|
@ -84,6 +83,14 @@ const ScrollDialog: FC<IProps> = ({
|
|||
</div>
|
||||
)}
|
||||
|
||||
{!title && (
|
||||
<div className={styles.top}>
|
||||
<div className={styles.wrap} style={{ flexBasis: width }}>
|
||||
<div className={styles.top_cap} />
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{!!buttons && (
|
||||
<div className={styles.bottom}>
|
||||
<div className={styles.wrap} style={{ flexBasis: width }}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue