1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

made simple full-width image container

This commit is contained in:
Fedor Katurov 2020-10-26 12:18:43 +07:00
parent 677dce9721
commit c58bf1a379
4 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,8 @@
import React, { FC } from 'react';
import styles from './styles.module.scss';
interface IProps {}
const NodeImageTinySlider: FC<IProps> = () => <div className={styles.wrap}>Slider :3</div>;
export { NodeImageTinySlider };

View file

@ -0,0 +1,11 @@
.wrap {
//padding-bottom: $radius;
background-color: $red;
width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
}