-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
chore: cp-7.59.0 revert font preloader changes from #21199 #22342
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,9 +45,9 @@ const styleSheet = (params: { theme: Theme; vars: InputStyleSheetVars }) => { | |
| // Fix for placeholder text shifting with custom Geist fonts | ||
| // Use minimal padding that works cross-platform with preloaded fonts | ||
| paddingVertical: Platform.OS === 'ios' ? 2 : 1, | ||
| // Ensure consistent line height for custom font baseline alignment | ||
| lineHeight: Platform.OS === 'ios' ? 20 : 22, | ||
| // Ensure consistent line height for custom font baseline alignment lineHeight: Platform.OS === 'ios' ? 20 : 22, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Merged Comments Break CodeThe comment and code are merged on the same line without proper line break. The comment |
||
| fontFamily: getFontFamily(textVariant), | ||
| fontWeight: theme.typography[textVariant].fontWeight, | ||
| fontSize: theme.typography[textVariant].fontSize, | ||
| letterSpacing: theme.typography[textVariant].letterSpacing, | ||
| // iOS-specific fix for custom font baseline alignment | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a mistake that we want to keep I'll create a follow up PR to fix the inputs specifically