The show less button on the repositories page persists even when scrolled up out of the section, which does not look good. The scrolling down was working properly wherein if someone scrolled down out of the section the button stuck to the end of the relative section. I used the same logic to apply the same for the top part of the section.
Related Issue
Fixes #51
Motivation and Context
The button staying there was really confusing and if clicked even when out of the section you will be dragged down to the start of the section.
How Has This Been Tested?
This was a minor bug change so simple manual testing was enough wherein I checked the button's working and hiding for every screen width and in every scenario.
Description
The show less button on the repositories page persists even when scrolled up out of the section, which does not look good. The scrolling down was working properly wherein if someone scrolled down out of the section the button stuck to the end of the relative section. I used the same logic to apply the same for the top part of the section.
Related Issue
Fixes #51
Motivation and Context
The button staying there was really confusing and if clicked even when out of the section you will be dragged down to the start of the section.
How Has This Been Tested?
This was a minor bug change so simple manual testing was enough wherein I checked the button's working and hiding for every screen width and in every scenario.
Screenshots (if appropriate):
https://github.com/adobe/adobe.github.com/assets/77831343/8196e12c-b9c4-4e14-9a9e-250eb053f1f0
Types of changes
Checklist: