Skip to content

Commit

Permalink
Fix for styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky43007 committed Dec 15, 2024
1 parent e35e249 commit 2985079
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 205 deletions.
16 changes: 14 additions & 2 deletions interface/components/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,13 @@ const LoginForm = ({ reload, cloudBootstrap, setContinueWithEmail }: LoginProps)
return (
<Form
onSubmit={form.handleSubmit(async (data) => {
await signInClicked(data.email, data.password, reload, cloudBootstrap, saveEmailAddress);
await signInClicked(
data.email,
data.password,
reload,
cloudBootstrap,
saveEmailAddress
);
})}
className="w-full"
form={form}
Expand Down Expand Up @@ -211,7 +217,13 @@ const LoginForm = ({ reload, cloudBootstrap, setContinueWithEmail }: LoginProps)
variant="accent"
size="md"
onClick={form.handleSubmit(async (data) => {
await signInClicked(data.email, data.password, reload, cloudBootstrap, saveEmailAddress);
await signInClicked(
data.email,
data.password,
reload,
cloudBootstrap,
saveEmailAddress
);
})}
disabled={form.formState.isSubmitting}
>
Expand Down
2 changes: 1 addition & 1 deletion interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"@dnd-kit/utilities": "^3.2.2",
"@headlessui/react": "^1.7.17",
"@icons-pack/react-simple-icons": "^9.1.0",
"@spacedrive/rspc-client": "github:spacedriveapp/rspc#path:packages/client&6a77167495",
"@phosphor-icons/react": "^2.0.13",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
Expand All @@ -27,6 +26,7 @@
"@sd/client": "workspace:*",
"@sd/ui": "workspace:*",
"@sentry/browser": "^7.74.1",
"@spacedrive/rspc-client": "github:spacedriveapp/rspc#path:packages/client&6a77167495",
"@tanstack/react-query": "^5.59",
"@tanstack/react-query-devtools": "^5.59",
"@tanstack/react-table": "^8.20.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/style/tailwind.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function (app, options) {
content: [
`../../apps/${app}/src/**/*.{ts,tsx,html,stories.tsx}`,
'../../packages/*/src/**/*.{ts,tsx,html,stories.tsx}',
'../../interface/{app,components}/*.{ts,tsx,html,stories.tsx}'
'../../interface/**/*.{ts,tsx,html,stories.tsx}',
],
darkMode: 'class',
theme: {
Expand Down
Loading

0 comments on commit 2985079

Please sign in to comment.