Skip to content

Commit

Permalink
Ipadでレイアウトが崩れるためwとhを指定
Browse files Browse the repository at this point in the history
  • Loading branch information
irumaru committed Oct 29, 2023
1 parent 2de9046 commit e5eac5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Card.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const { title, id } = Astro.props;
---

<div class="flex min-h-[600px] border-t" id={id}>
<div class="border-r px-2 py-3 lg:p-5">
<!-- Ipadでレイアウトが崩れるためwとhを固定 -->
<div class="border-r px-2 py-3 lg:p-5 w-[60px] lg:w-[108px]">
<h2 class="text-3xl lg:text-6xl" style="writing-mode: vertical-rl;">
{title}
</h2>
Expand Down

0 comments on commit e5eac5f

Please sign in to comment.