Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bicstone committed Jun 17, 2023
1 parent 77ee306 commit f9b2e26
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/features/RelatedBlogPostList/RelatedBlogPostCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const RelatedBlogPostCard = (props: {

return (
<Grid item component="article" xs={12} sm={6} md={4}>
<Card>
<Card variant="filled">
<CardActionArea
component={RouterLink}
to={`/${post.frontmatter.slug}`}
Expand Down
12 changes: 8 additions & 4 deletions src/layouts/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const Header = (): JSX.Element => {
<AppBar
position="fixed"
color={scrollTrigger ? "primary" : "default"}
elevation={scrollTrigger ? 4 : 0}
elevation={0}
role="banner"
enableColorOnDark
>
Expand All @@ -40,19 +40,23 @@ export const Header = (): JSX.Element => {
css={(theme) => ({
display: "flex",
alignItems: "center",
gap: theme.spacing(0.5),
gap: theme.spacing(1),
})}
>
<BicstoneLogo
aria-hidden="true"
css={(theme) => ({
marginRight: theme.spacing(0.5),
display: "inline-flex",
width: theme.spacing(3),
height: theme.spacing(3),
})}
/>
<Typography color="textPrimary" variant="h6" component="h1">
<Typography
color="textPrimary"
variant="h6"
component="h1"
fontWeight="bold"
>
おおいし (@bicstone)
</Typography>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/templates/BlogPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ const BlogPostTemplate = ({
</div>

<Card
variant="outlined"
css={(theme) => ({
margin: theme.spacing(3, 0),
padding: theme.spacing(0, 1, 3, 1),
Expand Down

0 comments on commit f9b2e26

Please sign in to comment.