From 849c76b99ceb9f94bccd792adec693487d6b5d82 Mon Sep 17 00:00:00 2001 From: Tom Reijnders Date: Wed, 20 Jul 2022 16:16:55 +0200 Subject: [PATCH] Properly hhandle borders showing in iframes --- .../Nottingham/common_html5/css/themeStyles.css | 1 + .../parent_templates/Nottingham/common_html5/js/xenith.js | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/xerte/parent_templates/Nottingham/common_html5/css/themeStyles.css b/modules/xerte/parent_templates/Nottingham/common_html5/css/themeStyles.css index 4c9087b665..5204c2ad97 100644 --- a/modules/xerte/parent_templates/Nottingham/common_html5/css/themeStyles.css +++ b/modules/xerte/parent_templates/Nottingham/common_html5/css/themeStyles.css @@ -26,6 +26,7 @@ body { #x_mainHolder { border: 1px solid #010101; + box-sizing: border-box; } #x_headerBlock { diff --git a/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js b/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js index dca9da2288..3a8f8c292b 100644 --- a/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js +++ b/modules/xerte/parent_templates/Nottingham/common_html5/js/xenith.js @@ -3327,8 +3327,7 @@ function x_setFillWindow(updatePage) { } $x_mainHolder.css({ - // The right border is cut off when embedding if setting to 100% - "width" :"99.8%", + "width" :"100%", "height" :"100%" });