From ca6fe3bf583d9a24e7f0d1b849857c65ec4b79f7 Mon Sep 17 00:00:00 2001 From: David Luhmer Date: Sun, 21 Jan 2024 13:09:43 +0100 Subject: [PATCH] hide empty/broken iframes Signed-off-by: David Luhmer --- News-Android-App/src/main/assets/web.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/News-Android-App/src/main/assets/web.css b/News-Android-App/src/main/assets/web.css index 413de7a65..862539a18 100644 --- a/News-Android-App/src/main/assets/web.css +++ b/News-Android-App/src/main/assets/web.css @@ -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;