Skip to content

Commit

Permalink
feat: give auth cards a max width so they dont look so giant (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniDigger committed Apr 29, 2023
1 parent 84058ec commit 1d1c4a6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/src/pages/auth/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ useHead(useSeo("Login", null, route, null));
</script>

<template>
<Card>
<Card class="w-xl mx-auto max-w-full">
<template #header>{{ privileged ? "Sudo" : "Login" }}</template>

<div v-if="privileged" class="mb-2">Please authenticate again to do this action</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/auth/reset.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ useHead(useSeo("Reset your password", null, route, null));
</script>

<template>
<Card>
<Card class="w-xl mx-auto max-w-full">
<template #header> Reset your password </template>
<form v-if="!codeSend" class="flex flex-col gap-2">
<p>Enter your email address here to receive a verification code to reset your password.</p>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/auth/signup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ useHead(useSeo("Signup", null, route, null));
</script>

<template>
<Card>
<Card class="w-xl mx-auto max-w-full">
<template #header>
<h1>Sign up</h1>
</template>
Expand Down
3 changes: 0 additions & 3 deletions frontend/src/types/generated/icons.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,11 @@ declare module "@vue/runtime-core" {
IconMdiEarth: typeof import("~icons/mdi/earth")["default"];
IconMdiEye: typeof import("~icons/mdi/eye")["default"];
IconMdiEyeOff: typeof import("~icons/mdi/eye-off")["default"];
IconMdiFeather: typeof import("~icons/mdi/feather")["default"];
IconMdiFileDocument: typeof import("~icons/mdi/file-document")["default"];
IconMdiFlag: typeof import("~icons/mdi/flag")["default"];
IconMdiFolderPlusOutline: typeof import("~icons/mdi/folder-plus-outline")["default"];
IconMdiFormatListNumbered: typeof import("~icons/mdi/format-list-numbered")["default"];
IconMdiGamepadRoundLeft: typeof import("~icons/mdi/gamepad-round-left")["default"];
IconMdiGavel: typeof import("~icons/mdi/gavel")["default"];
IconMdiHelp: typeof import("~icons/mdi/help")["default"];
IconMdiHelpCircleOutline: typeof import("~icons/mdi/help-circle-outline")["default"];
IconMdiHome: typeof import("~icons/mdi/home")["default"];
IconMdiHorseVariant: typeof import("~icons/mdi/horse-variant")["default"];
Expand Down

0 comments on commit 1d1c4a6

Please sign in to comment.