Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
fixed responsive layout for sign up page
Browse files Browse the repository at this point in the history
added `changesetBaseRefs` to `.yarnrc.yml`
  • Loading branch information
cjayross committed Oct 22, 2021
1 parent 6864a08 commit d3f6955
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ plugins:
pnpMode: loose

yarnPath: .yarn/releases/yarn-3.0.0.cjs

changesetBaseRefs:
- "main"
- "origin/main"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "gatsby",
"description": "The transparent, distributed video sharing platform.",
"version": "0.6.0",
"version": "0.6.1",
"license": "AGPL-3.0",
"private": true,
"main": "./dist/server.prod.js",
Expand Down
10 changes: 9 additions & 1 deletion src/layout/SignUp/Fields/Fields.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
.Form {
display: flex;
gap: spacing(3);
align-items: flex-end;
align-items: stretch;
flex-direction: column;
}

.Fields {
Expand Down Expand Up @@ -57,3 +58,10 @@
}
}


@include screen(500px) {
.Form {
align-items: flex-end;
flex-direction: row;
}
}
1 change: 0 additions & 1 deletion src/layout/SignUp/Heading/Heading.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
.Heading {
margin-bottom: spacing(2);
}

15 changes: 13 additions & 2 deletions src/layout/SignUp/Layout/Layout.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@
.Layout {
max-width: rem(2000px);
margin: 0 auto;
padding-top: rem(250px);
padding-left: rem(100px);
padding-top: rem(200px);
}

@include screen(500px) {
.Layout {
padding-left: rem(25px);
padding-top: rem(250px);
}
}

@include screen(1000px) {
.Layout {
padding-left: rem(100px);
}
}

0 comments on commit d3f6955

Please sign in to comment.