Skip to content

Commit 03aff82

Browse files
authored
Fix/home daisy UI (#534)
# PRの概要 Cardの表示が壊れていたので修正 ## 具体的な変更内容 Homeのコンポーネントのcss(配置)修正 ## 影響範囲 とくになし ## 動作要件 とくになし ## 補足 とくになし ## レビューリクエストを出す前にチェック! - [x] 改めてセルフレビューしたか - [x] 手動での動作検証を行ったか - [x] server の機能追加ならば、テストを書いたか - 理由: 書いた | server の機能追加ではない - [x] 間違った使い方が存在するならば、それのドキュメントをコメントで書いたか - 理由: 書いた | 間違った使い方は存在しない - [x] わかりやすいPRになっているか <!-- レビューリクエスト後は、Slackでもメンションしてお願いすることを推奨します。 -->
1 parent 85673a1 commit 03aff82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/app/home/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default function Home() {
8484
<div className="flex h-full flex-col items-center justify-center">
8585
{nextUser && (
8686
<div className="relative h-full w-full">
87-
<div className="-translate-x-1/2 absolute inset-0 z-0 mt-4 transform">
87+
<div className="-translate-x-4 -translate-y-4 inset-0 z-0 mt-4 transform">
8888
<Card displayedUser={nextUser} />
8989
</div>
9090
<motion.div
@@ -101,7 +101,7 @@ export default function Home() {
101101
</motion.div>
102102
</div>
103103
)}
104-
<div className="button-container mt-4 mb-4 flex w-full space-x-8">
104+
<div className="button-container mt-4 mb-4 flex w-full justify-center space-x-8">
105105
<RoundButton onclick={onClickCross} icon={<CloseIconStyled />} />
106106
<RoundButton
107107
onclick={onClickHeart}

0 commit comments

Comments
 (0)