Skip to content

Commit 50d7454

Browse files
committed
styles: height fit in mobile view for library cards
1 parent cddcaf1 commit 50d7454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/LibraryCard/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { FaFilePdf } from 'react-icons/fa';
55
export default function LibraryCard({ title, pdfUrl }) {
66
return (
77
<div className="col col--4 margin-bottom--lg px-2">
8-
<div className="card h-20 md:h-full hover:shadow-lg transition-shadow">
8+
<div className="card h-fit md:h-full hover:shadow-lg transition-shadow">
99
<div className="card__header py-2 mb-2">
1010
<div className="flex items-center gap-2">
1111
<FaFilePdf className="text-red-500 text-xl" />

0 commit comments

Comments
 (0)