bootgrid: automatic grid height calculation#10011
Merged
Merged
Conversation
Member
|
🌈 how magical 🌈 |
Member
|
Its very good :) |
fichtner
pushed a commit
that referenced
this pull request
Apr 7, 2026
|
Hello! We are running "OPNsense 26.1.9". For example, if we go to "-> Firewall -> Rules [new]" the grid-bottom-reserve is quite large. How can we reduce it to zero? |
Member
Author
|
@falkenau Are you referring to:
Or disabling in-grid scrolling entirely? |
|
@swhite2 YES! I would love that. And there is enough room for the Apply Button at the top. |
Member
Wait what |
Member
Author
|
Not sure what's going on here, but I guess #10375 is related. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Grids will now fill all available screen space (if the amount of data allows), minus a margin. The margin may also include a user-supplied element or selector, of which the dimensions are used to subtract the grid height to leave space for said element. By default this element is
.grid-bottom-reserve, as on most pages thebase_apply_buttonis used below the grid.Note that the page itself still has a scrollbar, as the
base_apply_buttonhas a larger padding that expands beyond the visible container to make room for the "Don't forget to press apply" banner. A separate PR will propose a styling change for this.