Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
fix:responsiveness testimonials details
Browse files Browse the repository at this point in the history
  • Loading branch information
techmannih committed Nov 27, 2023
1 parent 6fe126c commit 6964bff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Cards/TestimonialCard.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const TestimonialCard = ({ src, description, from }) => {
return (
<div className='mb-10 flex h-full w-full flex-col items-center justify-center rounded-lg border border-content/20 bg-gradient-to-br from-content/0 to-content/10 p-4 py-8 text-center lg:flex-1'>
<div className='mb-10 flex h-full w-full max:md:w-72 flex-col items-center justify-center rounded-lg border border-content/20 bg-gradient-to-br from-content/0 to-content/10 p-4 py-8 text-center lg:flex-1'>
<img
alt='testimonial'
className=' mb-2 inline-block h-20 w-20 rounded-full border-2 border-base-100 bg-base-100/10 object-cover object-center'
src={src}
/>
<p className='text-lg'>{description}</p>
<p className='text-lg max-md:w-64'>{description}</p>
<hr className='styled-hr styled-hr--light mx-auto my-4' />
<h2 className='text-sm font-medium text-content '>{from}</h2>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/Testimonials.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Testimonials = ({
{tweetId ? (
<TweetCarousael tweetId={tweetId} setTweetId={setTweetId} />
) : (
<div className='flex flex-col gap-4'>
<div className='flex flex-col gap-4 max-md:w-80'>
<Carousel
cols={3}
rows={1}
Expand Down

0 comments on commit 6964bff

Please sign in to comment.