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

Problems with characters like Å, Ü in navigation menu #50

Open
marcvanopstalndla opened this issue Mar 18, 2022 · 3 comments
Open

Problems with characters like Å, Ü in navigation menu #50

marcvanopstalndla opened this issue Mar 18, 2022 · 3 comments

Comments

@marcvanopstalndla
Copy link
Contributor

Element titles containing character like Å and Ü are missing the upper part of the character when shown in the navigation menu in the resource.
see example in the attached printscreen.

Perhaps are the used settings in this part from the stylesheet "navigation-menu.css" causing this problem:
.h5p-documentation-tool .h5p-navigation-menu .h5p-navigation-menu-entry span { position: relative; top: -2px; }
2022-03-18 16 04 46 www h5p-test ndla no d082c90f2d00

@otacke
Copy link
Contributor

otacke commented Mar 18, 2022

@marcvanopstalndla Could this be a problem with your integration? Some CSS customization maybe? The font seems to look slightly different. Please compare
https://h5p.org/node/1255575 where it looks fine.

@marcvanopstalndla
Copy link
Contributor Author

Thanks for the feedback, I will check with our h5p service provider why we use fonts that can have this problem.
But @otacke, why is it necessary to use a negative pixel number for the position of those tags? Using in this case css: top: 0px; would not the cause a problem for any kind of font.

@otacke
Copy link
Contributor

otacke commented Mar 21, 2022

@marcvanopstalndla I have not looked at the code at all and don't know why the offset was introduced (or why anything would be cut off by just repositioning an element).

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

No branches or pull requests

2 participants