1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 13:26:40 +07:00

rotated colors

This commit is contained in:
muerwre 2019-07-29 19:13:16 +07:00
parent 0941253b1c
commit 6547f3bed0
10 changed files with 82 additions and 43 deletions

View file

@ -3,15 +3,16 @@ import * as styles from './styles.scss';
import classNames = require("classnames");
type IProps = HTMLAttributes<HTMLDivElement> & {
seamless?: boolean;
}
const Panel: FC<IProps> = ({
className,
children,
seamless,
...props
}) => (
<div className={classNames(styles.panel, className)} {...props}>
<div className={classNames(styles.panel, className, { seamless })} {...props}>
{children}
</div>
);

View file

@ -1,3 +1,7 @@
.panel {
padding: $gap;
@include outer_shadow();
&:global(.seamless) { padding: 0; }
}