File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export default async function BookDetailsPage({
7373 priority
7474 />
7575 </ div >
76- < div className = "place-self-center text-center border-t" >
76+ < div className = "place-self-center text-center pt-4 border-t" >
7777 < p className = "text-gray-600" > { bookRes . data . author } </ p >
7878 < p className = "text-sm text-gray-500" > { bookRes . data . code } </ p >
7979 </ div >
Original file line number Diff line number Diff line change @@ -125,14 +125,14 @@ export default async function BorrowDetailsPage({
125125 < CardHeader >
126126 < CardTitle > Book Information</ CardTitle >
127127 </ CardHeader >
128- < CardContent className = "grid md:grid-cols-2 gap-4" >
128+ < CardContent className = "grid place-self-center md:grid-cols-2 gap-4" >
129129 < Link href = { `/books/${ borrowRes . data . book . id } ` } >
130130 < Image
131131 src = { borrowRes . data . book ?. cover ?? '/book-placeholder.svg' }
132132 alt = { borrowRes . data . book . title + "'s cover" }
133133 width = { 256 }
134134 height = { 256 }
135- className = "shadow-md rounded-md w-56 h-auto hover:shadow-md hover:scale-105 transition-transform"
135+ className = "rounded-md w-56 h-auto hover:shadow-md hover:scale-105 transition-transform"
136136 />
137137 </ Link >
138138 < div >
You can’t perform that action at this time.
0 commit comments