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

fixed grid

This commit is contained in:
muerwre 2019-08-09 15:35:17 +07:00
parent b45ecadd20
commit ba614a115d
4 changed files with 25 additions and 7 deletions

View file

@ -18,10 +18,10 @@ const Cell: FC<IProps> = ({
is_hero,
}) => (
<div
className={classNames(styles.cell, { is_hero })}
className={classNames(styles.cell, `vert-${height}`, `hor-${width}`)}
style={{
gridRowEnd: `span ${height}`,
gridColumnEnd: `span ${width}`,
// gridRowEnd: `span ${height}`,
// gridColumnEnd: `span ${width}`,
}}
>
{ title && <div className={styles.title}>{title}</div> }