Skip to content

Commit 2f9b16c

Browse files
authored
Update page.tsx
Change the image sizes for left- and right-justified text
1 parent 03928e9 commit 2f9b16c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎app/research/page.tsx‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ export default function Research() {
5555
</p>
5656
</div>
5757
</div>
58-
<hr className="border-t border-gray-600 w-4/5 mx-auto mt-8" />
58+
<hr className="border-t border-gray-600 w-5/6 mx-auto mt-8" />
5959
{research.map((research, index) => (
6060
<div key={index}>
6161
<div className="flex flex-col w-full my-2">
62-
<div className="flex flex-col md:flex-row justify-between items-center w-4/5 mx-auto">
62+
<div className="flex flex-col md:flex-row justify-between items-center w-5/6 mx-auto">
6363
{index % 2 === 0 ? (
6464
<>
6565
{research.image ? (
@@ -115,8 +115,8 @@ export default function Research() {
115115
<img
116116
src={`/img/research/${research.image}`}
117117
alt={research.title}
118-
className="rounded-lg w-96 ml-5"
119-
style={{ height: "auto" }}
118+
className="rounded-lg ml-5"
119+
style={{ maxWidth: "100%", height: "auto" }}
120120
/>
121121
) : (
122122
<div className="rounded-lg w-96 h-56 bg-gray-300 flex items-center justify-center ml-5">

0 commit comments

Comments
 (0)