Monad-Pad / gmon.link

gmon.link is the easiest and quickest way to aggregate links for projects or individuals.
https://gmon.link
3 stars 9 forks source link

Fix overlapping container issue with large descriptions #4

Closed Uday9316 closed 3 days ago

Uday9316 commented 4 days ago

Is there an existing issue for this?

Current Behavior

When a profile or section contains a large description, the content overflows and overlaps with the last div or container at the bottom of the page. This overlap causes the bottom section (such as clickable buttons or links) to become unresponsive due to being hidden behind the content above. Here’s the specific issue:

The clickable areas at the bottom of the page (e.g., "Discord" button) are covered by the content in the container above due to insufficient space/margin. This makes some elements non-clickable, affecting user experience.

Screenshot 2024-09-24 133916

Expected Behavior

The container or div holding the description should have adequate margin or padding at the bottom to ensure there is enough space between it and the next section. This prevents overlap and ensures all elements remain interactive.

After adding margin-bottom, the bottom elements become clickable as expected. No visual or interactive conflicts are present after applying the fix. image

Steps To Reproduce

  1. Navigate to a profile or section that contains a large description in the UI (or add a long description to test). Scroll to the bottom of the page, where there are clickable elements like "Discord" or other buttons/links.

  2. Observe that the profile container (whether large or small) causes issues with the clickable elements below it. The links or buttons become unclickable or are partially covered.

  3. Attempt to click the buttons or links covered by the overlapping content.

  4. Notice that they are not clickable due to the overlap.

https://github.com/user-attachments/assets/b55cd289-7bdc-4b52-a835-4de350a59e85

Anything else?

No response

elliotdotsol commented 3 days ago

Thanks for the PR! It is now merged