Skip to content

Commit 218c3f1

Browse files
committed
center iframe
1 parent c2123df commit 218c3f1

File tree

1 file changed

+8
-2
lines changed
  • packages/volto-iframe-block/src/theme

1 file changed

+8
-2
lines changed

packages/volto-iframe-block/src/theme/main.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
}
3333
}
3434

35-
.block.iframe iframe {
36-
width: 100%;
35+
.block.iframe {
36+
figure {
37+
margin-left: auto;
38+
margin-right: auto;
39+
}
40+
iframe {
41+
width: 100%;
42+
}
3743
}

0 commit comments

Comments
 (0)