-
Notifications
You must be signed in to change notification settings - Fork 78
Conversation
src/App.css
Outdated
@@ -0,0 +1,14 @@ | |||
::-webkit-scrollbar-track { |
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.
Just realizied that you had made a seperate css file for this, but can't we do it with makeStyles?
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.
Actually we cant apply psuedo selector css inline
Have a look at this
https://stackoverflow.com/questions/47345981/customize-webkit-scrollbar-inline-with-react
src/App.css
Outdated
border-radius: 10px; | ||
background-color: #000000; | ||
} | ||
|
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.
please add a newline at the end of file.
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.
okay , I will
but for the above query for me its working in whole website
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.
can you tell me more about newline please
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.
You have to end every file with a blank line according to POSIX standards. In this file you could see that the line written with your code is the last line, but that should not be the case. You should add a new blank line.
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.
okay wait ,i am doing it thanks for telling me
Okay, now I got it...Webkit is only working with chrome, you have to additionally add |
okay so i will add more classes for other browser support |
check this view for mozzilla @Abhishek-kumar09 |
Hey @ArunTeltia, can we make a carasouel out of this horizontal scrolling and leave the side scroll bar as it is? |
yes and it would be okay for laptop users to scroll sidewise but what about the pc users ,they need some scrollbar to scroll for reading testimonials |
@ArunTeltia, some changes:
|
remove scroll bar in testimonials and make them movable ? |
@ArunTeltia Any update |
Working on it sir @KeenWarrior |
@Abhishek-kumar09 , i know how to make this infinitely moving by writing advance css for example adding animation and keyframes but i dont know if that is being supported by react inline style , can i use a library for implementing this feature or i can simply add a css file ?
this is the line of css i need to write for the smooth transitional effect |
OK, you could write it with creating a new css file or use makeStyles(), its your choice we are happy with both. |
|
Its looking great now, Please commit those changes here. |
can you help me with how to get the commits from the upstream |
do:
|
I just check I accidently removed the comments do i have to add those ? |
Its safe if you could restore those. |
@ArunTeltia Please make it uni-directional, infinite. Sorry I gave you wrong info before, we have update to keep it unidirectional and infinite movement. |
u mean it must be an infinite loop? |
can you help me with this i tried but i am not able to make it look like circular |
Please check @KeenWarrior @Abhishek-kumar09 |
className="recommendation_slide" | ||
key={index} | ||
style={{ | ||
margin: '20px', | ||
borderRadius: '5px', | ||
height: 'auto', | ||
overflow: 'hidden', | ||
boxShadow: '0px 0px 14px rgba(0, 0, 0, 0.1)' | ||
}} | ||
> | ||
<Card className={classes.card}> | ||
<CardContent className={classes.cardContent}> | ||
<img | ||
alt="" | ||
width="70px" | ||
src={ | ||
index % 2 === 0 | ||
? '/static/reviews/high.png' | ||
: '/static/reviews/low.png' | ||
} | ||
/> | ||
</CardContent> | ||
|
||
<CardContent className={classes.cardContent}> | ||
<Box display="flex" justifyContent="center"> | ||
<Typography |
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.
Okay so what i did is add 3 starting cards at the end of the cardlist in the grid so that there is no gap between each other
Please remove this, as no one is gonna starr at testimonial for so long, and afterall we are still getting some motion discontinuity after those 3 added card. I think., else is great 🥇
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.
Okay got it let me check that
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.
Why I have to remove these lines These are essential piece of code and will break the component totally
Can you please recheck @Abhishek-kumar09
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.
Oh Sorry my mistake, you have to remove the code for 3 extra cards that you had added.
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.
oh okay
Okay done @Abhishek-kumar09 you can check |
Great you are enthuastic about it! |
Great will start work right away via reading previous logs |
customized the scrollbar as per #119 issue