Skip to content

Commit

Permalink
fix: adjust border radius and flex style
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyCloudYang committed Oct 26, 2024
1 parent 716ba9f commit 6d70a42
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/thu-info-app/src/ui/home/networkOnlineDevices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const DeviceCard = ({device, refresh}: {device: Device; refresh: Function}) => {
};

return (
<RoundedView style={{margin: 12}}>
<RoundedView style={{margin: 12, borderRadius: 24}}>
<View style={{marginHorizontal: 16}}>
<Text style={{fontSize: 16, marginVertical: 2, color: colors.text}}>
{device.ip4}
Expand Down Expand Up @@ -86,6 +86,7 @@ const DeviceCard = ({device, refresh}: {device: Device; refresh: Function}) => {
marginTop: 8,
paddingVertical: 4,
paddingBottom: 8,
borderRadius: 8,
}}>
<TouchableOpacity
onPress={() => {
Expand Down Expand Up @@ -146,7 +147,7 @@ export const NetworkOnlineDevicesScreen = () => {
style={{flex: 1}}
behavior={Platform.OS === "ios" ? "padding" : "height"}
keyboardVerticalOffset={104}>
<View style={{flex: 1, flexDirection: "column"}}>
<View style={{flex: 1, flexDirection: "column", justifyContent: "space-between"}}>
<ScrollView
refreshControl={
<RefreshControl
Expand Down

0 comments on commit 6d70a42

Please sign in to comment.