Skip to content

Commit

Permalink
slight css tweaks (#694)
Browse files Browse the repository at this point in the history
Co-authored-by: elena <elena@elenas-MacBook-Pro.local>
  • Loading branch information
leanthebean and elena committed May 15, 2024
1 parent 6776533 commit 953afbe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layouts/Blog/Blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function BlogLayout({
)}
</Container>
{image && (
<Container maxW="container.lg" px={0} mb={24}>
<Container maxW="container.sm" px={0} mb={24}>
<AspectRatio ratio={1064 / 708}>
<Image alt="" src={image} fill />
</AspectRatio>
Expand Down
1 change: 0 additions & 1 deletion lib/ui/src/components/MDXRenderer/MDXRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ function HeadingWithAnchor(props: ComponentProps<typeof Heading>) {

const DEFAULT_TEXT_PROPS = {
fontSize: "md",
lineHeight: 1.6,
};

const rendererComponents: ComponentProps<typeof MDXRemote>["components"] = {
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/src/theme/components/fontSizes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const fontSizes = {
xs: "0.875rem", // 14px
sm: "1rem", // 16px
md: "1.25rem", // 20px
md: "1.125rem ", // 18px
lg: "1.375rem", // 22px
xl: "1.625rem", // 26px
"2xl": "2rem", // 32px
Expand Down

0 comments on commit 953afbe

Please sign in to comment.