Parcourir la source

update pages/home/maps/PinMessage.js

wudebin il y a 10 mois
Parent
commit
f09cda1e91
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 5
      Strides-APP/app/pages/home/maps/PinMessage.js

+ 5 - 5
Strides-APP/app/pages/home/maps/PinMessage.js

@@ -22,9 +22,9 @@ const PinMessage = ({
         style={styles.noticeDialog}
         visible={visible}>
         <Swiper
-          style={{height: $vw(100)}}
-          loop={true}
-          autoplay={true}
+          style={{height: $vh(50)}}
+          loop={false}
+          autoplay={false}
           //dotColor={"#ccc"}
           activeDotColor={colorAccent}
           removeClippedSubviews={false}
@@ -104,7 +104,7 @@ const styles = StyleSheet.create({
   },
   messageCard: {
     marginBottom: 16,
-    maxHeight: $vw(50),
+    maxHeight: $vh(50),
     overflow: "hidden",
     borderRadius: 6,
     backgroundColor: colorLight,
@@ -144,7 +144,7 @@ const styles = StyleSheet.create({
     position: "absolute"
   },
   notiveView: {
-    height: $vw(100),
+    height: $vh(50) - 48,
     marginLeft: 4,
     marginRight: 4,
     borderRadius: 12,