Skip to content

Commit

Permalink
Tidy things slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Feb 20, 2024
1 parent 4ab26f2 commit a9e2847
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/block-library/src/cover/edit/inspector-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ export default function CoverInspectorControls( {
minHeightUnit,
alt,
tagName,
style,
} = attributes;
const {
isVideoBackground,
Expand Down Expand Up @@ -310,7 +309,9 @@ export default function CoverInspectorControls( {
>
<CoverHeightInput
value={
style?.dimensions?.aspectRatio ? '' : minHeight
attributes?.style?.dimensions?.aspectRatio
? ''
: minHeight
}
unit={ minHeightUnit }
onChange={ ( newMinHeight ) =>
Expand Down

0 comments on commit a9e2847

Please sign in to comment.