1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed titles on lab and node related

This commit is contained in:
Fedor Katurov 2021-10-05 15:47:01 +07:00
parent 07852df0dc
commit d382553b8a
4 changed files with 14 additions and 16 deletions

View file

@ -3,6 +3,7 @@ import styles from './styles.module.scss';
import { Group } from '~/components/containers/Group';
import { INode } from '~/redux/types';
import { NodeRelatedItem } from '~/components/node/NodeRelatedItem';
import { SubTitle } from '~/components/common/SubTitle';
interface IProps {
title: ReactElement | string;
@ -12,9 +13,7 @@ interface IProps {
const NodeRelated: FC<IProps> = ({ title, items }) => {
return (
<Group className={styles.wrap}>
<div className={styles.title}>
<div className={styles.text}>{title}</div>
</div>
<SubTitle className={styles.title}>{title}</SubTitle>
<div className={styles.grid}>
{items.map(item => (

View file

@ -21,7 +21,7 @@
}
.title {
@include title_with_line();
padding-left: 5px;
a {
text-decoration: none;