activist
activist copied to clipboard
Fix #579: Add shadow to sidebar footer when content is scrollable
Contributor checklist
- [x] This pull request is on a separate branch and not the main branch
Description
This pull request addresses issue #579 by implementing a shadow effect on the sidebar footer when the content of the sidebar (either index or filters) is scrollable.
Changes made:
- Updated
SidebarLeftFooter.vue
to accept a new propcontentIsScrollable
and apply a shadow when it's true. - Modified
SidebarLeftIndex.vue
andSidebarLeftFilters.vue
to detect when their content is scrollable and emit this information. - Updated the parent component
SidebarLeft.vue
to pass the scrollable state from the index and filters components to the footer component.
Additional notes:
The changes primarily affect the following components:
-
SidebarLeftFooter.vue
-
SidebarLeftIndex.vue
-
SidebarLeftFilters.vue
-
SidebarLeft.vue
Related issue
- #579