podkrepi-bg / frontend

Charity platform https://podkrepi.bg Docs https://docs.podkrepi.bg

Home Page:https://podkrepi.bg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ani-kalpachka opened this issue · comments

commented

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.