Просмотр исходного кода

update app/pages/home/DrawerV4.js

wudebin 5 месяцев назад
Родитель
Сommit
a90d170939
1 измененных файлов с 7 добавлено и 4 удалено
  1. 7 4
      Strides-SPAPP/app/pages/home/DrawerV4.js

+ 7 - 4
Strides-SPAPP/app/pages/home/DrawerV4.js

@@ -202,7 +202,7 @@ export default DrawerV4 = ({isLogin=false, userInfo, onLogout, sideCountInfo={},
             name="bell-badge-outline"
             color={textPrimary}
             size={24}/>
-          <TextView style={styles.label}>{$t('route.notifications')}</TextView>
+          <TextView style={[styles.label, {height: 15}]}>{$t('route.notifications')}</TextView>
           <TextView
             style={styles.balanceText}
             fixedAlign={false}>
@@ -421,8 +421,9 @@ const styles = StyleSheet.create({
   },
   label: {
     flex: 1,
+    height: 48,
     color: textPrimary,
-    fontSize: 14
+    fontSize: 14,
   },
   divided: {
     height: 1,
@@ -433,13 +434,15 @@ const styles = StyleSheet.create({
   balanceText: {
     color: textPrimary,
     fontSize: 14,
-    marginRight: 20
+    marginRight: 20,
+    textAlign: "right"
   },
   balanceText2: {
     color: colorPrimary,
     fontSize: 14,
     fontWeight: 'bold',
-    marginRight: 20
+    marginRight: 20,
+    textAlign: "right"
   },
   bridgeText: {
     width: 20,