Skip to content

Commit

Permalink
スタイル微調整
Browse files Browse the repository at this point in the history
  • Loading branch information
hikaruworld committed Dec 24, 2023
1 parent db5a87e commit c51972c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Sponsors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export function Sponsors({ sponsors }: { sponsors: any[] }) {
<h2 className="mx-auto max-w-2xl text-center font-display text-4xl font-medium tracking-tighter text-gray-900 sm:text-5xl">
Sponsors
</h2>
<div className="mx-auto mt-20 grid max-w-max grid-cols-1 place-content-center gap-x-32 gap-y-12 sm:grid-cols-3 md:gap-x-16 lg:gap-x-32">
<div className="mx-auto mt-20 mx-20 grid max-w-max grid-cols-1 place-content-center gap-x-16 gap-y-12 sm:grid-cols-3 md:gap-x-32 lg:gap-x-16">
{sponsors.length == 0 && (
<div className="text-center col-span-3">調整中</div>
)}
Expand Down
4 changes: 2 additions & 2 deletions src/layouts/Sponsor.astro
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ const last = index === allSponsors.length - 1;
</div>
</Container>
<Container className="flex gap-8 mt-12 flex-col">
<div>
<div class="h-auto w-[30rem] transform">
<div class="max-lg:flex max-lg:flex-col max-lg:items-center">
<div class="h-auto w-[30rem] max-w-full transform">
<img
class="inset-0 h-full w-full object-cover transition duration-300 group-hover:scale-110"
src={frontmatter.image}
Expand Down

0 comments on commit c51972c

Please sign in to comment.