fixes code organization for default template widths
This commit is contained in:
@@ -34,7 +34,7 @@ class Add extends Component {
|
||||
<APIUrl url={this.state.apiUrl} />
|
||||
<div className="controls">
|
||||
<Button type="secondary">Preview</Button>
|
||||
<Button>Publish</Button>
|
||||
<Button>Save</Button>
|
||||
</div>
|
||||
</StickOnScroll>
|
||||
<Form method="POST" action="#">
|
||||
|
||||
@@ -2,8 +2,5 @@
|
||||
|
||||
.default-template {
|
||||
@include default-template-width;
|
||||
|
||||
.emblem {
|
||||
width: $base;
|
||||
}
|
||||
padding-top: rem(1);
|
||||
}
|
||||
|
||||
@@ -6,7 +6,8 @@
|
||||
/////////////////////////////
|
||||
|
||||
@mixin default-template-width {
|
||||
padding: rem(1) rem(1) rem(1) 0;
|
||||
padding-left: rem(1);
|
||||
padding-right: rem(1);
|
||||
margin-left: rem(6);
|
||||
width: calc(100% - #{rem(6)});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user