Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoughlin committed Jan 23, 2024
1 parent 04b3033 commit e8ba025
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
15 changes: 9 additions & 6 deletions app/source/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ function Source() {
<Text style={styles.linkText}>{data.id}</Text>
</TouchableOpacity>

<Text style={styles.itemText}>RA: {ra_to_hours(data.ra, ":")}</Text>
<Text style={styles.itemText}>Dec: {dec_to_dms(data.dec, ":")}</Text>
<Text style={styles.itemText}>
{ra_to_hours(data.ra, ":")}, {dec_to_dms(data.dec, ":")}
</Text>
<View style={{ flex: 0.8, width: 200 }}>
<PhotometryPlot
dm={data.dm}
Expand All @@ -168,9 +169,11 @@ function Source() {
))}
</ScrollView>

<Text style={{ marginTop: 10, fontSize: 16, fontWeight: "bold" }}>
Classifications:
</Text>
{data.classifications.length > 0 ? (
<Text style={{ marginTop: 10, fontSize: 16, fontWeight: "bold" }}>
Classifications:
</Text>
) : null}
<View
style={{ flexDirection: "row", flexWrap: "wrap", marginTop: 5 }}
>
Expand Down Expand Up @@ -218,7 +221,7 @@ function Source() {
<View style={{ marginTop: 5 }}>
<PostComment sourceId={data.id} setComment={setComment} />
</View>
<View style={{ marginTop: 50 }}>
<View style={{ marginTop: 5 }}>
<PostFollowupRequest sourceId={data.id} />
</View>
</View>
Expand Down
2 changes: 1 addition & 1 deletion components/PostFollowupRequest.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ function PostFollowupRequest({ sourceId = null }) {
);

return (
<View style={{ flex: 1, height: 500 }}>
<View style={{ height: 1200 }}>
<Text>Follow-up Request</Text>
<RNPickerSelect
items={request_options}
Expand Down

0 comments on commit e8ba025

Please sign in to comment.