Skip to content

Commit

Permalink
fix: enhance compatibility for the hero component on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo committed Jan 3, 2024
1 parent 3dee879 commit 2783ea1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/_components/Hero/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,11 @@ html[data-theme='dark'] {
}
}

@media (width <= 1000px) {
@media (width <= 1024px) {
.hero {
grid-template-columns: 1fr;
grid-template-rows: max-content minmax(0, max-content);
// grid-template-columns: 1fr;
// grid-template-rows: max-content minmax(0, max-content);
grid-template: none;
align-items: start;
height: auto;
/* background-position: center bottom;
Expand Down

1 comment on commit 2783ea1

@vercel
Copy link

@vercel vercel bot commented on 2783ea1 Jan 3, 2024

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:

blog – ./

blog-kuizuo.vercel.app
blog-git-main-kuizuo1.vercel.app
blog-kuizuo1.vercel.app
kuizuo.cn

Please sign in to comment.