When I render this component WITHOUT the wrapping 'div' tag the ui works fine.
Hoop.js
return connectDropTarget(
<div className="column"> <--works fine if I take this guy out
<Card >
<Image src={basketball_hoop}/>
<Card.Content>
<Card.Header>
Matthew
</Card.Header>
<Card.Meta>
<span className='date'>
Joined in 2015
</span>
</Card.Meta>
<Card.Description>
Matthew is a musician living in Nashville.
</Card.Description>
</Card.Content>
<Card.Content extra>
<a>
<Icon name='user'/>
22 Friends
</a>
</Card.Content>
</Card>
</div>
);
However, in order to use react-drag-and-drop I have to wrap it in a 'div' in order to return it for some reason. When I apply the div tag it shrinks to 75% of its original size.
The name of this^ component is Hoop. You can see it rendered here.
ParentOfHoop.js
return (
<div className="ui equal width grid">
<Card.Group className="equal width row">
<Hoop isOver=""/>
<Hoop isOver=""/>
<Hoop isOver=""/>
</Card.Group>
</div>
);
How can I make it so that Hoop fill its parent div entirely? I'm using Semantic UI's grid layout.
Edit: you can see the entire component system here --> https://github.com/ammark47/PersonalWebsite/tree/master/src/components