mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
whatsnew
This commit is contained in:
parent
81c9a5d7b3
commit
41a35f1490
9 changed files with 87 additions and 151 deletions
|
@ -13,10 +13,9 @@ const NodeRelated: FC<IProps> = ({ title, items }) => {
|
|||
return (
|
||||
<Group className={styles.wrap}>
|
||||
<div className={styles.title}>
|
||||
<div className={styles.line} />
|
||||
<div className={styles.text}>{title}</div>
|
||||
<div className={styles.line} />
|
||||
</div>
|
||||
|
||||
<div className={styles.grid}>
|
||||
{items.map(item => (
|
||||
<NodeRelatedItem item={item} key={item.id} />
|
||||
|
|
|
@ -17,20 +17,9 @@
|
|||
grid-template-columns: repeat(6, 1fr);
|
||||
}
|
||||
}
|
||||
.title {
|
||||
font: $font_14_semibold;
|
||||
text-transform: uppercase;
|
||||
color: transparentize(white, 0.3);
|
||||
flex-direction: row;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.line {
|
||||
display: none;
|
||||
flex: 1;
|
||||
height: 2px;
|
||||
background: transparentize(white, 0.95);
|
||||
.title {
|
||||
@include title_with_line();
|
||||
}
|
||||
|
||||
.text {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue