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

Hide Read More / Read Less button on Campaign News section in cases it is not necessary #1781

Closed
ani-kalpachka opened this issue May 15, 2024 · 0 comments · Fixed by #1787
Closed
Labels
type: bug Something isn't working

Comments

@ani-kalpachka
Copy link
Member

ani-kalpachka commented May 15, 2024

Which area(s) of Podkrepi.bg are affected?

Campaign details - News section

Describe the Bug

When the text for the news is short and the user clicks on 'Read more / Read less' button nothing happens since there is not more text to be expanded:

image
image

To Reproduce

  1. Go to https://podkrepi.bg/campaigns/help-itzeto-to-live.
  2. Scroll down to News section.
  3. Click on 'Read more / Read less' button below the news.

Expected Behavior

The button should be removed for less text that does not overflow the visible area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
1 participant