Commit eb9d6fa0 authored by Marco Sehrer's avatar Marco Sehrer
Browse files

Pagination-Fix + Reaction Style

parent a866a8ed
...@@ -75,11 +75,7 @@ export default class ReactionDetails extends Component { ...@@ -75,11 +75,7 @@ export default class ReactionDetails extends Component {
render() { render() {
const {reaction} = this.state; const {reaction} = this.state;
const svgContainerStyle = { const svgContainerStyle = {
position: 'relative', textAlign: 'center'
padding: 0,
paddingBottom: '20%',
height: 0,
width: '100%'
}; };
const submitLabel = (reaction && reaction.isNew) ? "Create" : "Save"; const submitLabel = (reaction && reaction.isNew) ? "Create" : "Save";
return ( return (
...@@ -92,7 +88,7 @@ export default class ReactionDetails extends Component { ...@@ -92,7 +88,7 @@ export default class ReactionDetails extends Component {
</Col> </Col>
<Col md={9}> <Col md={9}>
<div style={svgContainerStyle}> <div style={svgContainerStyle}>
<SVG key={reaction.svgPath} src={reaction.svgPath}/> <SVG key={reaction.svgPath} src={reaction.svgPath} className='reaction-details'/>
</div> </div>
</Col> </Col>
</Row> </Row>
......
...@@ -37,7 +37,8 @@ ...@@ -37,7 +37,8 @@
.reaction svg { .reaction svg {
height: 90px; max-height: 90px;
width: 90%;
margin-left: 10px; margin-left: 10px;
} }
...@@ -45,3 +46,7 @@ ...@@ -45,3 +46,7 @@
stroke: white; stroke: white;
fill: white; fill: white;
} }
.reaction-details svg {
width: 100%
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment