From e8dc24d7749e969d39b120e2ff66e3cddf7b0eb4 Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Sat, 11 Feb 2023 13:06:58 +0100 Subject: [PATCH 1/2] Fix semi-fullscreen impact by integration CSS --- styles/h5p.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/styles/h5p.css b/styles/h5p.css index c0a18a54..9f12369f 100644 --- a/styles/h5p.css +++ b/styles/h5p.css @@ -169,6 +169,8 @@ div.h5p-fullscreen { right: 0; bottom: 0; z-index: 100001; + margin: 0; + padding: 0; } .h5p-iframe-wrapper.h5p-semi-fullscreen .buttons { position: absolute; From 3ce4bc5958d486c99b21b4f6a40cb96cf5ca6ebf Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Sat, 11 Feb 2023 13:22:33 +0100 Subject: [PATCH 2/2] Set background to white in semi-fullscreen mode --- styles/h5p.css | 1 + 1 file changed, 1 insertion(+) diff --git a/styles/h5p.css b/styles/h5p.css index 9f12369f..252a9a44 100644 --- a/styles/h5p.css +++ b/styles/h5p.css @@ -76,6 +76,7 @@ html.h5p-iframe .h5p-semi-fullscreen .h5p-content { background-color: #000; } body.h5p-semi-fullscreen { + background-color: #fff; position: fixed; width: 100%; height: 100%;