Skip to content

Commit

Permalink
refactor: Rename prop
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Aug 23, 2022
1 parent deaa3ca commit f3fff46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/configurator/components/chart-controls/section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const ControlSectionContent = ({
role?: string;
ariaLabelledBy?: string;
children: ReactNode;
gap?: "big" | "default" | "none";
gap?: "large" | "default" | "none";
px?: "small" | "default";
sx?: BoxProps["sx"];
}) => {
Expand All @@ -67,7 +67,7 @@ export const ControlSectionContent = ({
sx={{
display: "flex",
flexDirection: "column",
gap: gap === "big" ? 3 : gap === "default" ? 2 : 0,
gap: gap === "large" ? 3 : gap === "default" ? 2 : 0,
px: px === "small" ? 2 : 4,
pb: 4,
...sx,
Expand Down
2 changes: 1 addition & 1 deletion app/configurator/map/map-chart-options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const BaseLayerSettings = memo(() => {
<SectionTitle iconName="mapMaptype">
<Trans id="chart.map.layers.base">Map Display</Trans>
</SectionTitle>
<ControlSectionContent gap="big">
<ControlSectionContent gap="large">
<ChartOptionCheckboxField
label={t({
id: "chart.map.layers.base.show",
Expand Down

0 comments on commit f3fff46

Please sign in to comment.