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 authored Dec 3, 2024
1 parent 4aa96a7 commit 61b0df2
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 61b0df2

Please sign in to comment.