Skip to content

Commit

Permalink
🖥️ Desktop-related cleanup and fixes (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronleopold authored Oct 17, 2024
1 parent 6197d1d commit 75f97cc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"vite": "vite --",
"dev": "tauri dev",
"build": "tauri build",
"build:mac-universal": "tauri build --target universal-apple-darwin -- --features bundled-server",
"build:mac-arm": "tauri build --target aarch64-apple-darwin -- --features bundled-server",
"build:mac-universal": "yarn exec vite build && tauri build --target universal-apple-darwin -- --features bundled-server",
"build:mac-arm": "yarn exec vite build && tauri build --target aarch64-apple-darwin -- --features bundled-server",
"build:windows": "tauri build --target x86_64-pc-windows-msvc -- --features bundled-server",
"nuke": "yarn exec rimraf node_modules"
},
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function App() {
return (
<StumpWebClient
platform={platform}
authMethod={platform === 'windows' ? 'token' : 'session'}
authMethod="token"
baseUrl={baseURL}
tauriRPC={tauriRPC}
onAuthenticated={handleAuthenticated}
Expand Down
1 change: 1 addition & 0 deletions packages/browser/src/scenes/auth/LoginOrClaimScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export default function LoginOrClaimScene() {
label={t('authScene.form.labels.username')}
variant="primary"
autoComplete="username"
autoCapitalize="off"
autoFocus
fullWidth
{...form.register('username')}
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const CardGrid = forwardRef<HTMLDivElement, React.ComponentPropsWithoutRe
<div
ref={ref}
className={cn(
'grid grid-cols-2 items-start justify-center gap-4 sm:grid-cols-4 md:justify-start lg:grid-cols-4 xl:grid-cols-5 xl:gap-4 2xl:grid-cols-7 2xl:gap-2 3xl:grid-cols-8 4xl:grid-cols-10',
'grid flex-1 grid-cols-2 items-start justify-center gap-4 sm:grid-cols-4 md:justify-start lg:grid-cols-4 xl:grid-cols-5 xl:gap-4 2xl:grid-cols-7 2xl:gap-2 3xl:grid-cols-8 4xl:grid-cols-10',
className,
)}
{...props}
Expand Down

0 comments on commit 75f97cc

Please sign in to comment.