Skip to content

Commit

Permalink
fix height on mobile for embedded videos
Browse files Browse the repository at this point in the history
  • Loading branch information
tinuola committed Jan 3, 2025
1 parent faac68a commit b9b6fd6
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

0 comments on commit b9b6fd6

Please sign in to comment.