浏览代码

search fix

Viktoriia 1 年之前
父节点
当前提交
c1d9422c7e
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 1
      src/screens/InAppScreens/MapScreen/index.tsx
  2. 1 2
      src/screens/InAppScreens/MapScreen/style.tsx

+ 2 - 1
src/screens/InAppScreens/MapScreen/index.tsx

@@ -775,7 +775,8 @@ const MapScreen: React.FC<MapScreenProps> = ({ navigation }) => {
               styles.searchContainer,
               styles.cornerButton,
               styles.topLeftButton,
-              animatedStyle
+              animatedStyle,
+              { padding: 5 }
             ]}
           >
             {isExpanded ? (

+ 1 - 2
src/screens/InAppScreens/MapScreen/style.tsx

@@ -82,8 +82,7 @@ export const styles = StyleSheet.create({
   searchContainer: {
     flexDirection: 'row',
     alignItems: 'center',
-    overflow: 'hidden',
-    padding: 5
+    overflow: 'hidden'
   },
   iconButton: {
     padding: 10