Skip to content

Commit

Permalink
Set maximum width for iframes (#2254)
Browse files Browse the repository at this point in the history
  • Loading branch information
osamasayed committed Dec 3, 2024
1 parent 3a64756 commit d17fa9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/MarkdownEditor/MarkdownEditor.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
iframe {
display: block; // Makes iframe a block element, ensuring it's on a new line
margin: var(--spacing-medium) auto; // Centers the iframe and adds vertical spacing
max-width: 100%;
}
}
.content {
Expand Down

0 comments on commit d17fa9c

Please sign in to comment.