Repository navigation
fix: center the phone sign-in page and allow paste in Settings - #61
Merged
Merged
Conversation
On phones the sign-in page pushed the password form off the left edge and the wordmark off the right, because the 720px rule gave every .wordmark the masthead's grid-area: brand, which created a stray named grid area inside the sign-in grid. The rule is now scoped to .masthead .wordmark. Separately, Tally runs as an accessory app with no main menu, so Cmd+X, Cmd+C, Cmd+V, Cmd+A, and Cmd+Z never reached Settings text fields; the app now installs a hidden Edit menu that supplies those key equivalents. OpenCode session ID: ses_edde72b75ffenF4F0i3R02Dlpd using model: anthropic/claude-opus-5-5
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.
Two bugs from v0.4.0. On a phone, the new sign-in page pushed the password form off the left edge and the Tally wordmark off the right. In the Mac app's Settings window, Cmd+V did nothing, so the new password and token fields could not be pasted into.
web/src/style.css): the 720px media query setgrid-area: brandon every.wordmark. Inside the sign-in page's grid that created a stray named area and an extra implicit column. The rule now targets.masthead .wordmarkonly.Sources/TallyApp/TallyApp.swift): Tally uses the accessory activation policy and installed no main menu, so text fields never received the Cut, Copy, Paste, Select All, Undo, and Redo key equivalents.installEditMenu()now sets a main menu with a standard Edit menu at launch. The menu bar stays hidden for accessory apps.Verification: Playwright with mocked API responses at 320x640 and 390x844 in dark mode. The wordmark and sign-in panel are now centered (390px: both at x=35, width 320) with no horizontal overflow, and the signed-in masthead still places the wordmark, actions, and tabs correctly. Swift tests (103) and web tests (21) pass. Paste is not yet verified by hand in the rebuilt app.
Originally created in OpenCode session ID: ses_edde72b75ffenF4F0i3R02Dlpd using model: anthropic/claude-opus-5-5