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

Kerning making other css break #154

Open
wasimsayyed opened this issue Nov 2, 2023 · 1 comment
Open

Kerning making other css break #154

wasimsayyed opened this issue Nov 2, 2023 · 1 comment

Comments

@wasimsayyed
Copy link

I have identified if we remove this css our other css is not breaking but with it our other css is breaking

* { -webkit-font-feature-settings: "kern" 1; -moz-font-feature-settings: "kern" 1; -ms-font-feature-settings: "kern" 1; -o-font-feature-settings: "kern" 1; font-feature-settings: "kern" 1; font-kerning: none; -webkit-text-rendering: optimizeSpeed; text-rendering: optimizeSpeed; -webkit-transform: translateZ(0); transform: translateZ(0); }

@willryanuk
Copy link

Applying a general transform: translateZ(0) to every element is a bad solution, and breaks things like fixed positioning. This * matcher will not play nice with other elements on a web page. It should be removed, but I'm not sure the impact that would have on the Textify library

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