Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made footer responsive and fixed bug in like #110

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

aaaa760
Copy link
Collaborator

@aaaa760 aaaa760 commented Mar 18, 2024

[] Made footer complete responsive
[] modified Extention Login Svg
[] Fixed the bug in the like functionality now the count is not incrementing on refresh

setVotesCount(props.note.voteCount + localLikeCount);
// const localLikeCount = getLocalLikeCountForPost(props.note.id);
// console.log(localLikeCount);
console.log(props.note.voteCount);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the log statements and commited the changes please check

@@ -25,7 +26,7 @@ const FooterBar = () => {
}

return (
<div className="fixed inset-x-0 bottom-0 bg-white border-t border-gray-400 shadow-md flex justify-around items-center md:hidden z-50">
<div className="footer-bar fixed inset-x-0 bottom-0 bg-white border-t border-gray-400 shadow-md flex justify-around items-center md:hidden z-50">
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have a class named footer-bar?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i created a small class in profile.css file for handling the size in very small screens using a media query so i added the class footer-bar

@AaruBama AaruBama merged commit 3b3af29 into AaruBama:master Apr 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants