Skip to content

Commit

Permalink
Added styling fix for the figure lement for block API 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ncoetzer committed Oct 6, 2023
1 parent 786c680 commit df92c33
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/image/styles.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import styled from '@emotion/styled';

export const InlineControlsStyleWrapper = styled('figure')`
line-height: 0;
position: relative;
margin: 0;
line-height: 0;
& img {
max-width: 100%;
min-width: 100%;
min-height: 100%;
}
Expand All @@ -31,11 +32,11 @@ export const InlineControlsStyleWrapper = styled('figure')`
}
& .inline-controls-sticky-wrapper {
height: 100%;
left: 0;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
& .inline-controls {
Expand Down

0 comments on commit df92c33

Please sign in to comment.