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

Fix Bug with Show More/Less Buttons #298

Merged
merged 1 commit into from Mar 22, 2024

Conversation

khairahscorner
Copy link
Collaborator

@khairahscorner khairahscorner commented Mar 22, 2024

Description

Fixed bug with "show more" button showing up for mentors with short bios, caused by incorrect indexing logic.

@nora-weisser, I finally found the issue with the code!

Change Type

  • Bug Fix
  • New Feature
  • Code Refactor
  • Documentation
  • Other

Related Issue

Motivation and Context

also fixes #171

Screenshots

Before
Screenshot 2024-03-22 at 6 58 45 pm
Screenshot 2024-03-22 at 6 59 35 pm

After
Screenshot 2024-03-22 at 7 00 10 pm
Screenshot 2024-03-22 at 7 00 29 pm

Pull request checklist

Please check if your PR fulfills the following requirements:

  • I checked and followed the contributor guide
  • I have tested my changes locally.
  • I have added a screenshot from the website after I tested it locally

Copy link
Collaborator

@dricazenck dricazenck left a comment

Choose a reason for hiding this comment

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

🚀

@dricazenck dricazenck merged commit 0902b65 into WomenWhoCode:main Mar 22, 2024
1 check passed
@khairahscorner khairahscorner deleted the fix-show-buttons branch March 25, 2024 08:56
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.

bug: No "Bio" truncation in some mentors' profiles but the "Show more/less" button is still visible
2 participants