-
Notifications
You must be signed in to change notification settings - Fork 314
fix:Responsiveness testimonials details #830
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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> | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The class - <p className='text-lg max-md:w-64'>{description}</p>
+ <p className='text-lg md:max-w-64'>{description}</p> Committable suggestion
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @techmannih you need to fix this maybe? The max-md class doesn't exist in my knowledge. Also make sure that the UI looks appropriate after you correctly set the class. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||
<hr className='styled-hr styled-hr--light mx-auto my-4' /> | ||||||
<h2 className='text-sm font-medium text-content '>{from}</h2> | ||||||
</div> | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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'> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. when I change this class, code is working locally and this is correct class |
||
<Carousel | ||
cols={3} | ||
rows={1} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this one too.