Bladeren bron

friends notification ui small fix

Viktoriia 2 maanden geleden
bovenliggende
commit
57834d2ada
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 1 1
      src/components/HorizontalTabView/index.tsx
  2. 2 2
      src/components/HorizontalTabView/styles.tsx

+ 1 - 1
src/components/HorizontalTabView/index.tsx

@@ -46,7 +46,7 @@ export const HorizontalTabView: React.FC<Props> = ({
       <Pressable
         onPress={() => onPress(name)}
         onLayout={onLayout}
-        style={[styles.tabLabelWrapper, style]}
+        style={[styles.tabLabelWrapper, style, withNotification > 0 ? { marginTop: 3 } : {}]}
       >
         <View
           style={[

+ 2 - 2
src/components/HorizontalTabView/styles.tsx

@@ -70,8 +70,8 @@ export const styles = StyleSheet.create({
   },
   notificationContainer: {
     position: 'absolute',
-    top: -5,
-    right: -5
+    top: -2,
+    right: -3
   },
 
   gridContainer: {