Skip to content

Commit

Permalink
mobile UI
Browse files Browse the repository at this point in the history
  • Loading branch information
JurreBrandsenInfoSupport committed Apr 4, 2024
1 parent 9fa0514 commit 182d680
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ export default async function RootLayout({
disableTransitionOnChange
>
<TRPCReactProvider>
<main className="flex min-h-screen items-center justify-center">
<div className="absolute right-4 top-4 z-50 flex items-center space-x-4">
<main className="min-h-screen items-center justify-center">
<div className="absolute right-4 top-4 z-50 flex space-x-4">
{session && (
<Suspense fallback={<ButtonSkeleton />}>
<LoginWrapper session={session} />
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const Home: React.FC = async () => {

return (
<div>
<div className="container flex flex-col items-center justify-center px-4 py-16">
<div className="mx-auto py-16 sm:px-4 sm:py-16 md:px-8 lg:px-16">
<h1 className="text-center text-5xl font-extrabold tracking-tight">
Welcome to the{" "}
<span className="block text-custom-primary sm:inline">
Expand Down
2 changes: 1 addition & 1 deletion src/components/additional-buttons-homepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { signIn } from "next-auth/react";
const Buttons = ({ session }: { session: Session | null }) => {
return (
<div className="mt-5 flex justify-center">
<div className="mt-5 flex flex-row items-center gap-6">
<div className="mt-5 flex flex-col items-center gap-6 md:flex-row">
<Login session={session} text="Go to survey" />
<Button
onClick={() => signIn("azure-ad", { callbackUrl: "/result/general" })}
Expand Down
2 changes: 1 addition & 1 deletion src/components/select-role.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default function SelectRoles({
</ul>

<div className="mt-5 flex justify-center">
<div className="mt-5 flex flex-row items-center gap-6">
<div className="mt-5 flex flex-col items-center gap-6 md:flex-row">
<div className="flex">
<Button
onClick={handleSetGeneralRole}
Expand Down

0 comments on commit 182d680

Please sign in to comment.