mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
fixed lab shadows and heroic columns
This commit is contained in:
parent
2e4cb24cf4
commit
f336974efd
6 changed files with 22 additions and 11 deletions
|
@ -4,6 +4,7 @@ import { useNodeBlocks } from '~/utils/hooks/node/useNodeBlocks';
|
|||
import styles from './styles.module.scss';
|
||||
import { LabBottomPanel } from '~/components/lab/LabBottomPanel';
|
||||
import { isAfter, parseISO } from 'date-fns';
|
||||
import classNames from 'classnames';
|
||||
|
||||
interface IProps {
|
||||
node: INode;
|
||||
|
@ -22,7 +23,7 @@ const LabNode: FC<IProps> = ({ node, isLoading, lastSeen, commentCount }) => {
|
|||
);
|
||||
|
||||
return (
|
||||
<div className={styles.wrap}>
|
||||
<div className={classNames(styles.wrap, { [styles.heroic]: node.is_heroic })}>
|
||||
{lab}
|
||||
<LabBottomPanel
|
||||
node={node}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue