Skip to content

Commit

Permalink
Don't double container wrap some items
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxwellBo committed Apr 2, 2018
1 parent b06740a commit 43384d3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 21 deletions.
4 changes: 2 additions & 2 deletions src/components/Motions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -434,15 +434,15 @@ export default class Motions extends React.Component<Props, State> {

const adder = (
<Card>
<Card.Content>
{/* <Card.Content> */}
<Button
icon="plus"
primary
fluid
basic
onClick={handlePushMotion}
/>
</Card.Content>
{/* </Card.Content> */}
</Card>
);

Expand Down
36 changes: 17 additions & 19 deletions src/components/Resolution.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -472,15 +472,15 @@ export default class Resolution extends React.Component<Props, State> {

const adder = (
<Card>
<Card.Content>
{/* <Card.Content> */}
<Button
icon="plus"
primary
fluid
basic
onClick={handlePushAmendment}
/>
</Card.Content>
{/* </Card.Content> */}
</Card>
);

Expand All @@ -497,23 +497,21 @@ export default class Resolution extends React.Component<Props, State> {
renderOptions = (resolution?: ResolutionData) => {
const { recoverResolutionFref, handleProvisionResolution } = this;
return (
<Segment>
<Button.Group fluid>
<Button
negative
content="Delete"
basic
onClick={() => recoverResolutionFref().remove()}
/>
<Button
basic
disabled={!resolution}
positive
content="Provision Caucus"
onClick={() => handleProvisionResolution(resolution!)}
/>
</Button.Group>
</Segment>
<Button.Group fluid>
<Button
negative
content="Delete"
basic
onClick={() => recoverResolutionFref().remove()}
/>
<Button
basic
disabled={!resolution}
positive
content="Provision Caucus"
onClick={() => handleProvisionResolution(resolution!)}
/>
</Button.Group>
);
}

Expand Down

0 comments on commit 43384d3

Please sign in to comment.