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

image example

This commit is contained in:
muerwre 2019-07-26 18:33:54 +07:00
parent 2a6604afaf
commit 9a56b1b9a5
5 changed files with 30 additions and 6 deletions

View file

@ -9,9 +9,13 @@ import { Comment } from "~/components/node/Comment";
interface IProps {}
const ImageExample: FC<IProps> = () => (
<Card>
<Card className={styles.node}>
<Group>
<div className={styles.image_container} />
<div
className={styles.image_container}
>
<img className={styles.image} src="http://37.192.131.144/full/photos/photo-20120702-99383.jpg" />
</div>
<Padder horizontal>
<Group horizontal>

View file

@ -1,7 +1,14 @@
.image_container {
width: 100%;
height: 600px;
background: #131313;
background: $node_image_bg;
border-radius: $panel_radius 0 0 $panel_radius;
display: flex;
align-items: center;
justify-content: center;
.image {
max-height: 800px;
}
}
.comments {
@ -11,3 +18,11 @@
.panel {
flex: 1 3;
}
.node {
background: $node_bg;
}
.image {
background: red;
}