We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a3b42b commit 01ec7caCopy full SHA for 01ec7ca
1 file changed
app/research/page.tsx
@@ -63,13 +63,12 @@ export default function Research() {
63
{index % 2 === 0 ? (
64
<>
65
{research.image ? (
66
- <div className="rounded-lg w-96 h-64 mr-5 overflow-hidden">
67
<img
68
src={`/img/research/${research.image}`}
69
alt={research.title}
70
- className="w-full h-full object-cover"
+ className="rounded-lg mr-5 w-full sm:w-auto sm:max-w-96"
+ style={{ height: "auto" }}
71
/>
72
- </div>
73
) : (
74
<div className="rounded-lg w-96 h-56 bg-gray-300 flex items-center justify-center mr-5">
75
<span className="text-gray-500">
0 commit comments