Skip to content

Commit

Permalink
Move template-container padding to item-template class
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Hart authored and benjeffery committed Mar 20, 2017
1 parent 3714e66 commit 47e757c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 1 addition & 3 deletions webapp/src/js/components/Template.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import PureRenderMixin from 'mixins/PureRenderMixin';
import FluxMixin from 'mixins/FluxMixin';
import ConfigMixin from 'mixins/ConfigMixin';

import 'template.scss';


let Template = React.createClass({

Expand All @@ -32,7 +30,7 @@ let Template = React.createClass({
render() {
let {content, table, primKey} = this.props;
return (
<ItemTemplate className="template-container" table={table} primKey={primKey}>
<ItemTemplate table={table} primKey={primKey}>
{content}
</ItemTemplate>
);
Expand Down
3 changes: 0 additions & 3 deletions webapp/src/styles/template.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
.item-template {
display: inline-block;
}

.template-container {
padding: 10px;
}

0 comments on commit 47e757c

Please sign in to comment.