Fix view weight graph for small screens

This commit is contained in:
Brandon Presley 2023-11-27 11:53:54 +13:00
parent 5a9030dae7
commit 3ed87114d2
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import { format } from "date-fns";
import { useEffect, useMemo, useState } from "react";
import { View } from "react-native";
import { ScrollView, View } from "react-native";
import { FileSystem } from "react-native-file-access";
import { IconButton, List } from "react-native-paper";
import Share from "react-native-share";
@ -74,7 +74,7 @@ export default function ViewWeightGraph() {
icon="share"
/>
</StackHeader>
<View style={{ padding: PADDING }}>
<ScrollView style={{ padding: PADDING }}>
<Select
label="Period"
items={[
@ -89,7 +89,7 @@ export default function ViewWeightGraph() {
value={period}
/>
{charts}
</View>
</ScrollView>
</>
);
}