1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed test cells

This commit is contained in:
muerwre 2019-08-20 21:08:28 +07:00
parent ad517a9bfe
commit a4c771a664
4 changed files with 47 additions and 19 deletions

View file

@ -23,7 +23,7 @@ const Cell: FC<IProps> = ({
<div
className={
classNames(
styles.cell,
styles.cell,
`vert-${height}`,
`hor-${width}`,
{ is_text },
@ -33,8 +33,11 @@ const Cell: FC<IProps> = ({
// gridColumnEnd: `span ${width}`,
}}
>
{is_text && <div className={styles.text}>{TEXTS.LOREM_IPSUM}</div>}
{ title && <div className={styles.title}>{title}</div> }
{is_text && <div className={styles.text}>
<div className={styles.text_title}>{title}</div>
{TEXTS.LOREM_IPSUM}
</div>}
{title && <div className={styles.title}>{title}</div>}
</div>
);