Skip to content

Commit

Permalink
Merge pull request #1370 from nextcloud/fix-empty-iframes
Browse files Browse the repository at this point in the history
hide empty/broken iframes
  • Loading branch information
David-Development authored Jan 21, 2024
2 parents dc7bba3 + ca6fe3b commit 923b56c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions News-Android-App/src/main/assets/web.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ body {
margin-right: 1rem;
}

body iframe:not([src]) {
display: none;
}

img {
/* make images fill the whole screen */
max-width: calc(100% + 2rem) !important;
Expand Down

0 comments on commit 923b56c

Please sign in to comment.