From dccafa5120ffaf2ff50b730ba9aded5691acd5fc Mon Sep 17 00:00:00 2001 From: DonOmalVindula Date: Wed, 4 Sep 2024 01:14:35 +0530 Subject: [PATCH 1/2] Make email template preview non interactive --- .../theme/src/themes/wso2is/apps/developer-portal.overrides | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/theme/src/themes/wso2is/apps/developer-portal.overrides b/modules/theme/src/themes/wso2is/apps/developer-portal.overrides index 29bf98b1ad6..59d09be58c6 100644 --- a/modules/theme/src/themes/wso2is/apps/developer-portal.overrides +++ b/modules/theme/src/themes/wso2is/apps/developer-portal.overrides @@ -1903,10 +1903,11 @@ TODO : Move values to separate variables and cleanup styles. .email-template-resource-tab-pane { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; - pointer-events: none; } .email-template-preview { + pointer-events: none; + .email-template-preview-iframe { min-height: 800px; } From 26785522cc1c6e675cb91e8976d77b75e9dc3ecf Mon Sep 17 00:00:00 2001 From: DonOmalVindula Date: Wed, 4 Sep 2024 01:15:53 +0530 Subject: [PATCH 2/2] Add changeset --- .changeset/orange-emus-shop.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/orange-emus-shop.md diff --git a/.changeset/orange-emus-shop.md b/.changeset/orange-emus-shop.md new file mode 100644 index 00000000000..6e037648610 --- /dev/null +++ b/.changeset/orange-emus-shop.md @@ -0,0 +1,5 @@ +--- +"@wso2is/theme": patch +--- + +Make email template preview non interactive