Skip to content

Commit

Permalink
fix: chart info panel misalignment
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanoshadjipetrou committed Sep 26, 2024
1 parent 2b339e6 commit e27214e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export const ChartBlockButtonToolbar: React.FC<ChartBlockButtonToolbarProps> = (
<Box
gap="8px"
display="flex"
position="relative"
flexDirection="row"
justifyContent="flex-end"
sx={{
Expand Down
1 change: 1 addition & 0 deletions src/app/components/chart-block/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export const ChartBlock: React.FC<ChartBlockProps> = (
display="flex"
marginTop="40px"
alignItems="center"
position="relative"
// justifyContent={props.latestUpdate ? "space-between" : "flex-end"}
justifyContent="flex-end"
>
Expand Down
1 change: 1 addition & 0 deletions src/app/pages/datasets/common/chart-block/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ export const DatasetChartBlock: React.FC<DatasetChartBlockProps> = (
display="flex"
marginTop="40px"
alignItems="center"
position="relative"
// justifyContent={props.latestUpdate ? "space-between" : "flex-end"}
justifyContent="flex-end"
>
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/grant/views/overview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export const GrantOverview: React.FC = () => {
</Grid>
</Grid>
{fullWidthDivider}
<Box>
<Box position="relative">
<Box id="grant-overview-race-bar-chart">
<RaceBarChart data={raceBarChartData} />
</Box>
Expand Down

0 comments on commit e27214e

Please sign in to comment.