Skip to content

HFP-3650 Fix semi-fullscreen impact by integration CSS#145

Open
otacke wants to merge 2 commits into
h5p:masterfrom
otacke:fix-semi-fullscreen
Open

HFP-3650 Fix semi-fullscreen impact by integration CSS#145
otacke wants to merge 2 commits into
h5p:masterfrom
otacke:fix-semi-fullscreen

Conversation

@otacke

@otacke otacke commented Feb 11, 2023

Copy link
Copy Markdown
Contributor

When H5P core sends content into semi-fullscreen mode, the stylesheet of the platform (e.g. WordPress) may impact the iframe style and prevent a fullscreen look.

When merged in, the iframe with semi-fullscreen selector will get margin and padding set to 0 in order to overrule the styling set by the H5P integration. Also, the background color will explicitly set to #fff in order to overrule the platform's background color setting in semi-fullscreen mode.

@otacke otacke changed the title Fix semi-fullscreen impact by integration CSS HFP-3649 Fix semi-fullscreen impact by integration CSS Feb 11, 2023
@otacke otacke changed the title HFP-3649 Fix semi-fullscreen impact by integration CSS HFP-3650 Fix semi-fullscreen impact by integration CSS Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant