Skip to content

Commit

Permalink
fix: APPS-3042 Embedded video height in RichText (#672)
Browse files Browse the repository at this point in the history
fix height on mobile for embedded videos

Co-authored-by: tinuola <[email protected]>
  • Loading branch information
tinuola and tinuola authored Jan 7, 2025
1 parent faac68a commit 819a6ba
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/styles/default/_rich-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@

:deep(img) {
height: auto;
object-fit: cover;
-o-object-fit: cover;
object-fit: cover;
display: inline-block;
}

Expand Down Expand Up @@ -111,7 +112,8 @@
:deep(iframe) {
width: 100%;
height: 400px;
object-fit: cover;
-o-object-fit: cover;
object-fit: cover;
}

:deep(a) {
Expand Down Expand Up @@ -259,8 +261,7 @@

:deep(iframe) {
width: 100%;
width: 100%;
height: auto;
min-height: 100%;
}

:deep(blockquote) {
Expand Down

1 comment on commit 819a6ba

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.