mipmip / home-manager-option-search

Home Manager Option Search
https://home-manager-options.extranix.com/
Apache License 2.0
255 stars 15 forks source link

Page footer can hide options #46

Open JaSpa opened 2 weeks ago

JaSpa commented 2 weeks ago

Firstly, thank you for this page. It vastly improves the user experience when browsing home-manager options!

When searching for a term with a many results, e.g. neomutt in release 24.05, the page footer covers options at the end of table. Scrolling further to make them visible is not possible.

I observe this behaviour on Firefox 130, Safari 17.6, and Arc 1.61 on macOS.

JaSpa commented 2 weeks ago

These changes would fix the issue while preserving the current behaviour (footer always visible at the bottom of the screen):

.navbar-fixed-bottom {
  position: sticky; /* currently it is "fixed" */
}
.xcontainer {
  flex-grow: 1; /* currently unset */
}

I haven't looked at the CSS enough to know if this might break other areas. But if this looks reasonable to you I can prepare a patch.

mipmip commented 2 weeks ago

Good catch, I'll fix this in the next round.