Skip to content

Commit

Permalink
1:1 aspect ratio for allsky camera now that it is a 533mc
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhelms committed Aug 20, 2024
1 parent 645c2a6 commit ea6ccea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Obspi/client/src/components/AllSkyComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function AllSkyComponent(props: AllSkyProps) {
: <CardHeader title={props.name} />
}
<CardMedia
sx={{ aspectRatio: props.aspectRatio ?? 16/9 }}
sx={{ aspectRatio: props.aspectRatio ?? "1/1" }}
component="img"
alt="All Sky"
image={imgSrc} />
Expand Down
2 changes: 1 addition & 1 deletion Obspi/client/src/containers/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function Dashboard() {
url={CAMERA_SOUTH_URL} />
<AllSkyComponent
hideHeader={true}
aspectRatio={4 / 3}
aspectRatio={"1/1"}
name="All Sky"
url={CAMERA_ALLSKY_URL} />
</Stack>
Expand Down

0 comments on commit ea6ccea

Please sign in to comment.