Fix notifications badge on web (#8347)

* Add notificationCountWeb style

* Apply styles.notificationCountWeb to BottomBarWeb NavItem
This commit is contained in:
Jerry Chen
2025-05-09 13:17:39 -05:00
committed by GitHub
parent 6c28d7d535
commit ce2fffc88c
2 changed files with 6 additions and 1 deletions
@@ -30,6 +30,11 @@ export const styles = StyleSheet.create({
borderRadius: 6,
zIndex: 1,
},
notificationCountWeb: {
paddingTop: 3,
paddingBottom: 3,
borderRadius: 12,
},
notificationCountLight: {
borderColor: colors.white,
},
+1 -1
View File
@@ -265,7 +265,7 @@ const NavItem: React.FC<{
{children({isActive})}
{notificationCount ? (
<View
style={styles.notificationCount}
style={[styles.notificationCount, styles.notificationCountWeb]}
aria-label={_(
msg`${plural(notificationCount, {
one: '# unread item',