Skip to content

Commit

Permalink
不要なクラス指定を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
miyaji255 committed Nov 25, 2023
1 parent 3f73279 commit 01511dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/components/join/place/LargeCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ const { title } = Astro.props
---

<div
class="min-w-[16rem] p-4 rounded-lg bg-secondary border-2 border-primary drop-shadow-contrast grid grid-rows-3 row-span-3 gap-2.5"
style="grid-template-rows: subgrid;"
class="min-w-[16rem] p-4 rounded-lg bg-secondary border-2 border-primary drop-shadow-contrast grid grid-rows-[subgrid] row-span-3 gap-2.5"
>
<h2 class="text-xl font-bold">{title}</h2>
<slot />
Expand Down
4 changes: 1 addition & 3 deletions src/components/join/place/PlaceDescription.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import LargeCard from './LargeCard.astro'
import SmallCard from './SmallCard.astro'
---

<div
class="grid grid-cols-1 md:grid-cols-2 grid-rows-[3rem_repeat(2,_minmax(0,_1fr))] gap-2.5"
>
<div class="grid grid-cols-1 md:grid-cols-2 gap-2.5">
<LargeCard title="誰でも参加可能">
<SmallCard title="Discord 公開サーバー">
<p>
Expand Down

0 comments on commit 01511dd

Please sign in to comment.