Skip to content

Commit c7b2299

Browse files
committed
fix #760
1 parent fe9a396 commit c7b2299

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/blocks/section-break-the-grid/style.scss

+11-4
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,13 @@
272272
top: 0;
273273
bottom: 0;
274274

275-
> img {
275+
> picture {
276+
position: relative;
277+
height: 100%;
278+
width: 100%;
279+
}
280+
281+
img {
276282
height: 100%;
277283
width: 100%;
278284
object-fit: cover;
@@ -349,13 +355,14 @@
349355
&__figure {
350356
position: relative;
351357

352-
> img {
358+
picture,
359+
img {
353360
position: relative;
354361
width: 100%;
355362
}
356363

357-
> img,
358-
> video {
364+
img,
365+
video {
359366
opacity: var(--smb-section-break-the-grid--mask-opacity);
360367
}
361368
}

0 commit comments

Comments
 (0)