component_preview: Pin the filter input at the top (#43636)

When I scroll the page after selecting a component, the filter input
disappears. It would be more helpful if it stayed fixed at the top.

## Before


https://github.com/user-attachments/assets/e26031f1-d6e7-4ae2-a148-88f4c548a5cf

## After


https://github.com/user-attachments/assets/f120355c-74d3-4724-9ffc-71fb7e3a4586

Release Notes:

- N/A
f10afd1059Floyd Wang committed on 11/27/2025, 8:02:03 PM· committed by GitHubparent45285ee
1 file changedLine totals unavailable