Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

otacke
Copy link
Contributor

@otacke otacke commented Feb 11, 2023

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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant