1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00
This commit is contained in:
Fedor Katurov 2020-04-18 14:37:14 +07:00
parent 81c9a5d7b3
commit 41a35f1490
9 changed files with 87 additions and 151 deletions

View file

@ -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} />

View file

@ -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 {