mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 12:39:27 +00:00
Align HermesBadge to bottom to avoid overlap with status bar (#47734)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47734 - With forced edge-to-edge on Android 15 targetSdk 35, `HermesBadge` overlaps with the top status bar. - Move the location of the HermesBadge to align with bottom of the header so we can avoid UI overlap with minimal changes to the template. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D66183918 fbshipit-source-id: 6e9eff337660a133349a2813e9ee033a8d2b749e
This commit is contained in:
parent
de82b15b0d
commit
7733c335eb
@ -40,8 +40,8 @@ const HermesBadge = (): Node => {
|
||||
const styles = StyleSheet.create({
|
||||
badge: {
|
||||
position: 'absolute',
|
||||
top: 8,
|
||||
right: 12,
|
||||
bottom: 8,
|
||||
},
|
||||
badgeText: {
|
||||
fontSize: 14,
|
||||
|
Loading…
Reference in New Issue
Block a user