Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
amitraj2203 committed Jun 19, 2024
1 parent a6e2ba6 commit f380188
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/block-library/src/image/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.wp-block-image {

> a {
a {
display: inline-block;
}

Expand All @@ -11,11 +11,6 @@
box-sizing: border-box;
}

&.alignfull a,
&.alignwide a {
width: 100%;
}

// The following style maintains border radius application for deprecated
// image blocks that applied border radius to the outer `figure` element.
//
Expand All @@ -37,6 +32,11 @@
text-align: center;
}

&.alignfull a,
&.alignwide a {
width: 100%;
}

&.alignfull img,
&.alignwide img {
height: auto;
Expand Down

0 comments on commit f380188

Please sign in to comment.