Skip to content

Commit

Permalink
Merge pull request #644 from visualize-admin/font-align
Browse files Browse the repository at this point in the history
  • Loading branch information
ptbrowne authored Aug 22, 2022
2 parents 705b7a4 + dad83cf commit e7ba601
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/configurator/components/chart-controls/control-tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export const ControlTabButton = ({
py: 3,
fontWeight: "normal",

fontSize: ["0.875rem", "0.875rem", "0.875rem"],
fontSize: "0.875rem",
transition: "background-color .2s",
cursor: "pointer",
":hover": {
Expand Down Expand Up @@ -281,7 +281,7 @@ export const ControlTabButtonInner = ({
</Typography>
)}
<Typography
variant="h4"
variant="h5"
sx={{
color: optional && !checked ? "grey.600" : "grey.800",
textAlign: "left",
Expand Down
2 changes: 1 addition & 1 deletion app/configurator/components/empty-right-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const EmptyRightPanel = ({
}: {
state: ConfiguratorStateConfiguringChart | ConfiguratorStateDescribingChart;
}) => (
<Typography component="div" variant="body1" sx={{ m: 4 }}>
<Typography component="div" variant="body2" sx={{ m: 4 }}>
{getRightPanelHint(state.state)}
</Typography>
);
Expand Down
2 changes: 2 additions & 0 deletions app/themes/federal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@ theme.components = {
MuiOutlinedInput: {
styleOverrides: {
root: {
fontSize: theme.typography.body2.fontSize,
lineHeight: theme.typography.body2.lineHeight,
borderRadius: (theme.shape.borderRadius as number) * 1.5,
},
},
Expand Down

1 comment on commit e7ba601

@vercel
Copy link

@vercel vercel bot commented on e7ba601 Aug 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

visualization-tool – ./

visualization-tool-ixt1.vercel.app
visualization-tool-git-main-ixt1.vercel.app
visualization-tool-alpha.vercel.app

Please sign in to comment.