-
Notifications
You must be signed in to change notification settings - Fork 0
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(Heading1)!: π Incorrect Text Size on Production Compared to Localhost β #163
Comments
INFO
RELATED PR |
DEBUGGINGβ
Function β
The same applies to other CSS, example β
These fonts sizes are working POSSIBLE BUG REASONβ It seems like the larger text sizes are not being included in production build:
The same applies for:
|
βΉοΈ Possible solution, need to test it in new build in deploy preview. Safelisting Classes: If you have classes that are conditionally used or dynamically generated, you can safelist them to ensure they are not purged. This is done using the safelist option in Tailwind configuration. Info: If you need to make sure Tailwind generates certain class names that donβt exist in content files, use safelist option. Docs: https://tailwindcss.com/docs/content-configuration#safelisting-classes |
When fixed, resolve conversations in PR: #162 |
PRTestingFont sizes tested in new deploy preview. All pages have correct before: after: Sreenshots |
Describe the bug
Latest
<Heading1 />
text is correct on localhost but wrong and small on production.Steps to reproduce bug
localhost
andproduction
.Expected behavior
Font sizes should be the same.
Desktop
Mac OS
EDGE
Version 131.0.2903.86 (Official build) (arm64)
Screenshots
The text was updated successfully, but these errors were encountered: