Skip to content

Commit

Permalink
fix: prevent slide left to go back
Browse files Browse the repository at this point in the history
  • Loading branch information
invisal committed Jul 27, 2024
1 parent ae53824 commit 1ba1e5d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 26 deletions.
5 changes: 5 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
@tailwind components;
@tailwind utilities;

html,
body {
overscroll-behavior-x: none;
}

:root {
--color-table-grid: #eee;
--color-table-change: #f6e58d;
Expand Down
24 changes: 0 additions & 24 deletions src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,30 +81,6 @@ export default async function LoginPage() {
)}
</div>
</div>
{/* <div className="w-[300px]">
<Card>
<CardHeader>
<h2 className="text-xl font-bold">Sign In</h2>
</CardHeader>
<CardContent className="grid gap-4">
{GITHUB_LOGIN_SUPPORT && (
<Button asChild>
<Link prefetch={false} href="/login/github">
Continue with Github
</Link>
</Button>
)}
{GOOGLE_LOGIN_SUPPORT && (
<Button asChild>
<Link prefetch={false} href="/login/google">
Continue with Google
</Link>
</Button>
)}
</CardContent>
</Card>
</div> */}
</div>
);
}
4 changes: 2 additions & 2 deletions src/components/gui/query-progress-log.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export default function QueryProgressLog({
return (
<div key={detail.order}>
{!!detail.error && (
<div className="mt-2 mb-2 text-red-500">
<pre>{detail.error}</pre>
<div className="mt-2 mb-2 text-red-500 font-mono">
{detail.error}
</div>
)}

Expand Down

0 comments on commit 1ba1e5d

Please sign in to comment.