From 470a6bdbf877bdc0297261082f800b5f21e3d6eb Mon Sep 17 00:00:00 2001 From: Andrew Simachev Date: Sun, 31 Dec 2023 21:22:41 +0100 Subject: [PATCH] JS-3649: Reddit --- dist/embed/iframe.html | 39 +++++++++++++++++++++----------- electron/json/cors.json | 19 ++++++++++++---- src/scss/block/embed.scss | 3 ++- src/ts/component/block/embed.tsx | 17 ++++++++++---- src/ts/interface/block/embed.ts | 1 + src/ts/lib/util/embed.ts | 14 +++++++----- src/ts/lib/util/menu.ts | 1 + 7 files changed, 66 insertions(+), 28 deletions(-) diff --git a/dist/embed/iframe.html b/dist/embed/iframe.html index 441ee60cff..3a9a5e34dd 100644 --- a/dist/embed/iframe.html +++ b/dist/embed/iframe.html @@ -12,7 +12,7 @@ body.align1 { text-align: center; } body.align2 { text-align: right; } - body:not(.isTwitter) { + body:not(.isTwitter):not(.isReddit) { iframe { width: 100% !important; height: 100% !important; border: 0px !important; } } @@ -24,6 +24,8 @@
+
+