Skip to content

Commit 565370c

Browse files
committed
Fix mobile auth card shell sizing
1 parent 2240cae commit 565370c

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

packages/web/src/styles/components.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10763,6 +10763,7 @@ textarea.input {
1076310763
}
1076410764

1076510765
.welcome-container--mobile {
10766+
flex-direction: column;
1076610767
align-items: stretch;
1076710768
justify-content: flex-start;
1076810769
min-height: 100dvh;

packages/web/src/styles/components.theme.test.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,6 +1296,16 @@ describe("components.css theme-sensitive surfaces", () => {
12961296
expect(settingsItemIconShell).toContain("border-radius: var(--radius-xl)");
12971297
});
12981298

1299+
it("stacks mobile welcome and auth shells vertically so cards size to content", () => {
1300+
const welcomeContainer = getLastRuleBlock(".welcome-container--mobile");
1301+
const authScreen = getLastRuleBlock(".auth-screen--mobile");
1302+
1303+
expect(welcomeContainer).toContain("flex-direction: column");
1304+
expect(welcomeContainer).toContain("align-items: stretch");
1305+
expect(welcomeContainer).toContain("justify-content: flex-start");
1306+
expect(authScreen).toContain("padding:");
1307+
});
1308+
12991309
it("keeps settings content groups and provider controls aligned with editor configuration panels", () => {
13001310
const settingsGroup = getLastRuleBlock(".settings-group");
13011311
const settingsGroupTitle = getLastRuleBlock(".settings-group-title");

0 commit comments

Comments
 (0)