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

fixed text appearance for single cell

This commit is contained in:
Fedor Katurov 2019-11-15 15:25:51 +07:00
parent 51fcaa3ae0
commit e51f185dd0
2 changed files with 4 additions and 2 deletions

View file

@ -104,7 +104,6 @@ const Cell: FC<IProps> = ({
styles.cell,
styles[(flow && flow.display) || "single"]
)}
onClick={onClick}
ref={ref}
>
{is_visible && (
@ -128,7 +127,7 @@ const Cell: FC<IProps> = ({
</div>
)}
<div className={classNames(styles.face)}>
<div className={classNames(styles.face)} onClick={onClick}>
<div className={styles.face_content}>
{title && !text && <div className={styles.title}>{title}</div>}

View file

@ -38,6 +38,9 @@
overflow: hidden;
position: relative;
width: 100%;
height: 100%;
p {
margin-bottom: $gap;
}