mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
refactored node header
This commit is contained in:
parent
6e0c9af647
commit
507bb452bb
4 changed files with 23 additions and 23 deletions
|
@ -55,7 +55,9 @@ const NodeLayout: FC<IProps> = memo(
|
|||
<Card className={styles.node} seamless>
|
||||
{block}
|
||||
|
||||
<NodePanel node={current} isLoading={is_loading} />
|
||||
<div className={styles.panel}>
|
||||
<NodePanel node={current} isLoading={is_loading} />
|
||||
</div>
|
||||
|
||||
<NodeBottomBlock
|
||||
canEdit={canEdit}
|
||||
|
|
|
@ -49,3 +49,12 @@
|
|||
border-radius: $panel_radius;
|
||||
box-shadow: $comment_shadow;
|
||||
}
|
||||
|
||||
.panel {
|
||||
@include row_shadow;
|
||||
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: stretch;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue