Skip to content

Commit

Permalink
Fixes #850: Embedded youtube video bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf committed Aug 28, 2020
1 parent 3e57131 commit 7ef01ce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

Version 1.12.9

* #850: Fix embedded youtube video bug.
(reported by sblondon)

* Fixes #846, #864: Translations not applied to application
menu bar and tool bar.
(Skif-off)
Expand Down
12 changes: 11 additions & 1 deletion css/liferea.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,20 @@ dd {
padding-left: 30px;
}

section, video, svg, iframe, figure, div.content * img {
section, svg, div.content * img {
max-width: 100%;
box-sizing: border-box;
object-fit: scale-down;
}

figure, iframe {
max-width: 100%;
box-sizing: border-box;

/* Note: object-fit would be best practice here, but it fails
on embedded Youtube videos (pushing the embed iframe far
to the right with the controls being not in the place
visually shown) */
}

div.content * img {
Expand Down

0 comments on commit 7ef01ce

Please sign in to comment.