Skip to content

Commit

Permalink
Merge pull request #1823 from visualize-admin/fix/smaller-improvements
Browse files Browse the repository at this point in the history
Fix/smaller improvements
  • Loading branch information
noahonyejese authored Nov 13, 2024
2 parents 8d0bdff + 81161f1 commit e5170fa
Show file tree
Hide file tree
Showing 9 changed files with 251 additions and 190 deletions.
8 changes: 4 additions & 4 deletions app/charts/shared/containers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ export const ChartSvg = ({ children }: { children: ReactNode }) => {
style={{ position: "absolute", left: 0, top: 0 }}
>
{interactiveFiltersConfig?.calculation.active && (
<foreignObject
<Box
component="foreignObject"
width={width - margins.right}
height="24"
style={{ display: "flex", textAlign: "right" }}
sx={{ display: "flex", textAlign: "right", height: 26 }}
>
<CalculationToggle />
</foreignObject>
</Box>
)}
{children}
</svg>
Expand Down
Loading

0 comments on commit e5170fa

Please sign in to comment.