mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +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[(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>}
|
||||
|
||||
|
|
|
@ -38,6 +38,9 @@
|
|||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
p {
|
||||
margin-bottom: $gap;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue