From 5092133b8fd5ed63480736358153b9d33141c83a Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Thu, 7 Nov 2019 10:57:39 +0100 Subject: [PATCH] MDL-67166 theme_classic: H5P embedded styles --- theme/boost/scss/moodle/core.scss | 3 +++ theme/boost/style/moodle.css | 3 +++ theme/classic/style/moodle.css | 3 +++ 3 files changed, 9 insertions(+) diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index cba39e9cd05..cf98dde277b 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -2282,6 +2282,9 @@ $switch-transition: .2s all !default; } body.h5p-embed { + #page-content { + display: inherit; + } #maincontent { display: none; } diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index f2d44583799..45c234ac024 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -11475,6 +11475,9 @@ div.editor_atto_toolbar button .icon { .paged-content-page-container { min-height: 3.125rem; } +body.h5p-embed #page-content { + display: inherit; } + body.h5p-embed #maincontent { display: none; } diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 0cc729a5706..ff6fa4c3491 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -11730,6 +11730,9 @@ div.editor_atto_toolbar button .icon { .paged-content-page-container { min-height: 3.125rem; } +body.h5p-embed #page-content { + display: inherit; } + body.h5p-embed #maincontent { display: none; }