[www] CollectiveImage updated

This commit is contained in:
Roman Timashev committed 2017-10-24 17:27:24 +03:00
1 parent d1897487a7
commit 69f9c1344e
2 files changed
+9 -5

No files matched your search

+4 -5
View File
@@ -1,9 +1,8 @@
const React = require('react') const React = require('react')
const Image = require('./Image')
module.exports = ({data}) => ( module.exports = ({data}) => (
<img <div className="CollectiveImage">
className="CollectiveImage" <Image data={data}/>
width="100%" </div>
src={data.src}
/>
) )
@@ -1,3 +1,8 @@
.CollectiveImage { .CollectiveImage {
margin-bottom: var(--double-margin); margin-bottom: var(--double-margin);
img {
width: 100%;
border-radius: 3px;
}
} }