Skip to content

Commit 01ec7ca

Browse files
authored
Update page.tsx
Revert
1 parent 9a3b42b commit 01ec7ca

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

app/research/page.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,12 @@ export default function Research() {
6363
{index % 2 === 0 ? (
6464
<>
6565
{research.image ? (
66-
<div className="rounded-lg w-96 h-64 mr-5 overflow-hidden">
6766
<img
6867
src={`/img/research/${research.image}`}
6968
alt={research.title}
70-
className="w-full h-full object-cover"
69+
className="rounded-lg mr-5 w-full sm:w-auto sm:max-w-96"
70+
style={{ height: "auto" }}
7171
/>
72-
</div>
7372
) : (
7473
<div className="rounded-lg w-96 h-56 bg-gray-300 flex items-center justify-center mr-5">
7574
<span className="text-gray-500">

0 commit comments

Comments
 (0)