Skip to content

Commit

Permalink
Make cms youtube embed styles more resistant to title changes on the …
Browse files Browse the repository at this point in the history
…IFrame
  • Loading branch information
nygrenh committed Jan 22, 2025
1 parent 526c74b commit 8825ed6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/cms/src/styles/Gutenberg/editor-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
}

// This height is same as the headless-lms oembed proxy maxheight=440.
iframe[title="Embedded content from youtube.com"],
iframe[title*="youtube.com"],
//For youtube shortlink
iframe[title="Embedded content from youtu"] {
iframe[title*="youtu.be"] {
height: 440px;
}

Expand Down

0 comments on commit 8825ed6

Please sign in to comment.