Repository navigation
feat(web): tables fit a phone without scrolling sideways - #126
Merged
Merged
Conversation
At phone width the annual summary and the dividend calendar become a list of months (tap a month for every figure; who pays in each), and the other wide tables keep their essential columns with the rest folded under the main line: monthly categories, recurring items, recent dividends, the loan plan and the AI recycle bin and audit.
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.
Why
On a phone several tables were wider than the screen and had to be dragged sideways (annual summary 1494 px wide in a 356 px card, the dividend calendar 863 px, monthly categories 634 px, …).
What
Measured at 390 px with the demo data (every page, overflowing scroll containers listed), then:
sm, a list of months with net balance and savings rate; tapping a month (<details>) shows every figure of the table's columns. Total/average row kept.sm, one line per month with its total (amber when thin) and who pays in it, most first. The "only positions that pay" filter is hidden there (the list only shows payers).smup; the 12-month average shows under the amount on phones.smup; a paused item says so under its name.smup (net stays).smup; "interest X · capital Y" under the payment on phones (years and instalments).smup; the client shows under the item/tool on phones.From
smup every table is unchanged. After the change, the only horizontal scrollers left at 390 px are the intended ones (transaction filter chips, the wallet strip).🤖 Generated with Claude Code