Skip to content

Sticky admin filters#12807

Merged
danielkerr merged 1 commit intoopencart:masterfrom
stalker780:filter-sticky
Oct 29, 2023
Merged

Sticky admin filters#12807
danielkerr merged 1 commit intoopencart:masterfrom
stalker780:filter-sticky

Conversation

@stalker780
Copy link
Copy Markdown
Contributor

Make right filter sticky when scrolling a page.
Very useful if you have set more then 10 items per page in admin area.
Also lists look more aesthetically pleasing now without empty space in the right column.

image

@ekavando
Copy link
Copy Markdown
Contributor

Good idea but instead of adding extra css code, the bootstrap position property can be used.
https://getbootstrap.com/docs/5.3/helpers/position/

@stalker780
Copy link
Copy Markdown
Contributor Author

@eka7a I thought about BS classes. But this does not solve top and bottom positioning margin and z-index. Anyway you need to edit CSS file and a separate class for filter container.
BTW this PR also contains a fix for .sticky-top. Because #container {overflow:hidden} was breaking any sticky block inside it.

@danielkerr danielkerr merged commit fbd4e7c into opencart:master Oct 29, 2023
@stalker780 stalker780 deleted the filter-sticky branch October 29, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants