Skip to content

Commit

Permalink
Use px for Font Size and remove unused classes
Browse files Browse the repository at this point in the history
  • Loading branch information
NataliaVizintini committed Oct 18, 2023
1 parent c8aa273 commit 801986c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .changeset/curvy-trains-deny.md

This file was deleted.

10 changes: 5 additions & 5 deletions packages/admin/admin/src/common/FieldSet.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ArrowForwardIosSharpIcon from "@mui/icons-material/ArrowForwardIosSharp";
import { Theme } from "@mui/material";
import { ComponentsOverrides, Theme } from "@mui/material";
import MuiAccordion from "@mui/material/Accordion";
import MuiAccordionDetails, { AccordionDetailsProps } from "@mui/material/AccordionDetails";
import MuiAccordionSummary, { AccordionSummaryProps } from "@mui/material/AccordionSummary";
Expand Down Expand Up @@ -48,12 +48,12 @@ const styles = (theme: Theme) =>
display: "flex",
alignItems: "center",
fontWeight: theme.typography.fontWeightMedium,
fontSize: "14pt",
fontSize: "16px",
textTransform: "uppercase",
color: theme.palette.text.primary,
},
supportText: {
fontSize: "10pt",
fontSize: "12px",
lineHeight: "18px",
color: theme.palette.text.secondary,
},
Expand Down Expand Up @@ -112,7 +112,7 @@ function FieldSet({
{...componentsProps?.fieldSetSummary}
>
<div className={clsx(classes.headerColumn)}>
<div className={clsx(classes.title, expanded && classes.disablePadding)}>{title}</div>
<div className={clsx(classes.title)}>{title}</div>
<div className={clsx(classes.supportText)}>{supportText}</div>
</div>
<div className={clsx(classes.placeholder)} />
Expand Down Expand Up @@ -141,7 +141,7 @@ declare module "@mui/material/styles" {
interface Components {
CometAdminFieldSet?: {
defaultProps?: ComponentsPropsList["CometAdminFieldSet"];
styleOverrides?: ComponentNameToClassKey["CometAdminFieldSet"];
styleOverrides?: ComponentsOverrides<Theme>["CometAdminFieldSet"];
};
}
}

0 comments on commit 801986c

Please sign in to comment.