Skip to content

Commit

Permalink
Improve style
Browse files Browse the repository at this point in the history
  • Loading branch information
Copons committed Nov 24, 2020
1 parent f55893b commit 37246df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
9 changes: 4 additions & 5 deletions packages/edit-site/src/components/template-details/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,10 @@ export default function TemplateDetails( { template, onClose } ) {

{ isTemplateRevertable( template, currentTheme ) && (
<div className="edit-site-template-details">
<Text variant="body">
<Button isLink onClick={ revert }>
{ __( 'Revert' ) }
</Button>
<br />
<Button isLink onClick={ revert }>
{ __( 'Revert' ) }
</Button>
<Text variant="caption">
{ __(
'Reset this template to the theme supplied default'
) }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
.edit-site-template-details {
margin: $grid-unit-10 $grid-unit-20;
border-bottom: $border-width solid $gray-400;
padding: $grid-unit-10 $grid-unit-20;

&:last-of-type {
border-bottom: none;
}

p {
padding: $grid-unit-10 0;
Expand Down

0 comments on commit 37246df

Please sign in to comment.