mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
fixed text appearance for single cell
This commit is contained in:
parent
51fcaa3ae0
commit
e51f185dd0
2 changed files with 4 additions and 2 deletions
|
@ -104,7 +104,6 @@ const Cell: FC<IProps> = ({
|
||||||
styles.cell,
|
styles.cell,
|
||||||
styles[(flow && flow.display) || "single"]
|
styles[(flow && flow.display) || "single"]
|
||||||
)}
|
)}
|
||||||
onClick={onClick}
|
|
||||||
ref={ref}
|
ref={ref}
|
||||||
>
|
>
|
||||||
{is_visible && (
|
{is_visible && (
|
||||||
|
@ -128,7 +127,7 @@ const Cell: FC<IProps> = ({
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div className={classNames(styles.face)}>
|
<div className={classNames(styles.face)} onClick={onClick}>
|
||||||
<div className={styles.face_content}>
|
<div className={styles.face_content}>
|
||||||
{title && !text && <div className={styles.title}>{title}</div>}
|
{title && !text && <div className={styles.title}>{title}</div>}
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,9 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: $gap;
|
margin-bottom: $gap;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue