Skip to content

Commit

Permalink
Move to div from aside.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Jul 31, 2018
1 parent 57d69fb commit 7086ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions core-blocks/image/index.js
Expand Up @@ -226,9 +226,9 @@ export const settings = {

if ( 'left' === align || 'right' === align ) {
return (
<aside>
<div>
{ figure }
</aside>
</div>
);
}

Expand Down
7 changes: 0 additions & 7 deletions core-blocks/image/style.scss
@@ -1,11 +1,4 @@
.wp-block-image {
figcaption {
margin-top: 0.5em;
color: $dark-gray-300;
text-align: center;
font-size: $default-font-size;
}

&.aligncenter {
display: block;
margin-left: auto;
Expand Down

0 comments on commit 7086ffe

Please sign in to comment.