Skip to content

feat: add github device flow for authentication #8232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jun 29, 2023
Merged
Prev Previous commit
Next Next commit
Fix layout shifting for full-screen sign-in
  • Loading branch information
kylecarbs committed Jun 28, 2023
commit a4fcf4b475f26d42970c559e2e5e9e3676f543bd
1 change: 0 additions & 1 deletion site/src/components/Margins/Margins.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const useStyles = makeStyles(() => ({
margin: "0 auto",
maxWidth: ({ maxWidth }: { maxWidth: number }) => maxWidth,
padding: `0 ${sidePadding}px`,
flex: 1,
width: "100%",
},
}))
Expand Down
7 changes: 7 additions & 0 deletions site/src/components/SignInLayout/SignInLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@ import { makeStyles } from "@mui/styles"
import { FC, ReactNode } from "react"

export const useStyles = makeStyles((theme) => ({
"@global": {
// Necessary for when this is on lonely pages!
"#root": {
height: "100vh",
},
},
root: {
flex: 1,
height: "-webkit-fill-available",
display: "flex",
justifyContent: "center",
alignItems: "center",
Expand Down