Left-align the signed-out account sign-in block - #7299
Merged
Conversation
The wrapper's @sm:flex-row never applied because the prebuilt @anlg/ui stylesheet is imported after the app CSS and its base .flex-col wins inside the shared utilities layer, while @sm:items-center still did, so the single child rendered centered. Drop the variant-dependent wrapper and stack the copy and button in a plain left-aligned column.
✅ Deploy Preview for anarlog canceled.
|
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.
Summary
Problem: The signed-out sign-in block on the Account settings page rendered centered. Its wrapper's
@sm:flex-rownever applied because the prebuilt@anlg/uistylesheet is imported after the app CSS and its base.flex-colwins inside the shared utilities layer, while@sm:items-centerstill did apply, so the single child ended up centered in a column.Fix: Drop the variant-dependent wrapper and stack the copy and button in a plain left-aligned column, which does not depend on the container-query variant winning the cascade.
Verification
pnpm -F desktop typecheckpnpm exec oxlint --quiet --format=github apps/desktop/src/pnpm -F desktop test—src/settings/generalsuites pass; the only failures in the full run are the pre-existingsrc/devtools-bar/index.test.tsxsuite (localStorageundefined under Node 26 + jsdom locally; CI runs Node 22)pnpm fmt:checkNote
Low Risk
Presentation-only change in Account settings for unauthenticated users; no auth, billing, or data-flow changes.
Overview
Fixes signed-out Account settings layout so the “Sign in to Anarlog” copy and Get started button stay left-aligned instead of appearing centered.
The change removes the nested responsive wrapper that used container-query classes (
@sm:flex-row,@sm:items-center,@sm:justify-between) and replaces it with a single column section (flex-col,items-start,gap-4) that stacks the heading, description, and button. The sign-in button also dropsw-fitso width follows the updated layout. Sign-in behavior (handleSignIn) is unchanged.Reviewed by Cursor Bugbot for commit 128af3c. Bugbot is set up for automated code reviews on this repo. Configure here.