Skip to content

Enhanced table interface inside the dashboard#1022

Merged
mdipierro merged 1 commit intoweb2py:masterfrom
hzarkoob:patch-2
Jan 27, 2026
Merged

Enhanced table interface inside the dashboard#1022
mdipierro merged 1 commit intoweb2py:masterfrom
hzarkoob:patch-2

Conversation

@hzarkoob
Copy link
Contributor

It’s common for users to want to scroll all the way to the right to see the columns at the end. This would be much easier if the horizontal (overflow-x) scrollbar were visible as soon as a table is opened, without requiring users to first scroll down to the bottom.

https://groups.google.com/g/py4web/c/e5MgA_jNUzA/m/FsuUBYreAQAJ

@hzarkoob
Copy link
Contributor Author

The suggested approach applies the horizontal scrollbar to the body element, ensuring that it remains visible across all screen heights, even when the browser window is resized.

@hzarkoob
Copy link
Contributor Author

The interface is designed so that, on large screens, the pagination buttons at the bottom are immediately visible without requiring any scrolling.

@hzarkoob
Copy link
Contributor Author

Please double-check the following CSS setting; I’m not sure whether it might cause any unintended side effects.

div:has(> flash-alerts) {
        height: 6px;
    }

@mdipierro
Copy link
Contributor

mdipierro commented Jan 27, 2026

Moved the style info from dbadmin.html to no.css. Please check I did not break anything. :-)

@mdipierro mdipierro merged commit 12d8cee into web2py:master Jan 27, 2026
5 checks passed
@hzarkoob
Copy link
Contributor Author

Thank you, Massimo. There were a few differences between what I submitted and what you implemented, so I’ve opened a new PR to address them. That said, the new PR is optional, as the current implementation has its own strengths.

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.

2 participants