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

Fix icons on WebOS 4 #814

Merged
merged 3 commits into from
Feb 20, 2020
Merged

Fix icons on WebOS 4 #814

merged 3 commits into from
Feb 20, 2020

Conversation

heyhippari
Copy link
Contributor

Changes

WebOS 4 apparently has a ligature bug that prevents icons with an underscore from working as intended.

image

Minimal icon test in clean environment, using more_horiz shows up as more

This replaces them with either the corresponding CSS class or unicode escape code, depending on context.
Refactoring is needed in order to be able to use CSS classes everywhere, so in the interest of time, this does the best available currently.

image

image

Issues

Fixes #678
Fixes #753

WebOS 4 apparently has a ligature bug that prevents icons with an underscore from working as intended.
This replaces them with either the corresponding CSS class or unicode escape code, depending on context.
Refactoring is needed in order to be able to use CSS classes everywhere, so in the interest of time, this does the best available currently.

Fixes jellyfin#678
@heyhippari heyhippari changed the title Fix icons on WebOS Fix icons on WebOS 4 Feb 16, 2020
Copy link
Member

@EraYaN EraYaN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, seems to work for me too.

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.

WebOS 4 has a horizontal scroll on itemdetails page WebOS 4: Most icons are missing
4 participants