Skip to content

Commit

Permalink
adjusted mobile formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaem1 committed Dec 5, 2024
1 parent 9da17ca commit 735edbe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/about/Testimonials.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import React, { useState } from 'react'

function Card({ name, title, quote, image }) {
return (
<li className="bg-glass p-5 rounded-[42px] min-w-128 list-none">
<li className="bg-glass p-5 rounded-[42px] min-w-72 md:min-w-128 list-none">
<figcaption className="flex">
<div className="ml-4">
<div className="text-[19px] lg:text-[31px] text-[#2E1B0F] font-bold">{name}</div>
<div className="text-[11px] lg:text-[19px] text-[#2e1b0fb4] font-bold">{title}</div>
<div className="text-[21px] lg:text-[31px] text-[#2E1B0F] font-bold">{name}</div>
<div className="text-[13px] lg:text-[19px] text-[#2e1b0fb4] font-bold">{title}</div>
</div>
</figcaption>
<p className="p-4 text-[11px] lg:text-[19px]">
<p className="p-4 text-[13px] lg:text-[19px]">
{quote}
</p>
</li>
Expand Down
3 changes: 3 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ module.exports = {
},
minWidth: {
'128': '31rem',
},
minHeight: {
'128': '62rem',
}
},
},
Expand Down

0 comments on commit 735edbe

Please sign in to comment.