chore: use px values instead of theme.spacing and theme.shape.borderRadius (#10519)

This commit is contained in:
Kayla Washburn
2023-11-06 09:43:06 -07:00
committed by GitHub
parent 0cb875cba5
commit ca6e6213bf
144 changed files with 774 additions and 958 deletions
@@ -26,8 +26,8 @@ export const CodeExample: FC<CodeExampleProps> = (props) => {
color: theme.palette.primary.contrastText,
fontFamily: MONOSPACE_FONT_FAMILY,
fontSize: 14,
borderRadius: theme.shape.borderRadius,
padding: theme.spacing(1),
borderRadius: 8,
padding: 8,
lineHeight: "150%",
border: `1px solid ${theme.palette.divider}`,
}}
@@ -35,7 +35,7 @@ export const CodeExample: FC<CodeExampleProps> = (props) => {
>
<code
css={{
padding: theme.spacing(0, 1),
padding: "0 8px",
width: "100%",
display: "flex",
alignItems: "center",