1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-02 16:16:41 +07:00

fixed node related item profile popout

This commit is contained in:
Fedor Katurov 2022-01-09 21:24:20 +07:00
parent 8311d3d43d
commit c0ece70f89
13 changed files with 106 additions and 186 deletions
src/components/containers

View file

@ -1,16 +0,0 @@
import React, { FC } from 'react';
import styles from './styles.module.scss';
import { DivProps } from '~/utils/types';
import classNames from 'classnames';
interface IProps extends DivProps {}
const Square: FC<IProps> = ({ children, ...rest }) => (
<div className={styles.square}>
<div {...rest} className={classNames(styles.content, rest.className)}>
{children}
</div>
</div>
);
export { Square };

View file

@ -1,12 +0,0 @@
.square {
position: relative;
padding-bottom: 100%;
}
.content {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}

View file

@ -1,5 +1,5 @@
import React, { DetailsHTMLAttributes, FC } from 'react';
import StickyBox from 'react-sticky-box';
import StickyBox from 'react-stickynode';
interface IProps extends DetailsHTMLAttributes<HTMLDivElement> {
offsetTop?: number;