finished adding profile deletion functionality + bug fix

This commit is contained in:
daniel31x13
2023-10-24 15:57:37 -04:00
parent 97d8c35d2a
commit cb8c2d5f10
24 changed files with 477 additions and 267 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ export default function CenteredForm({ text, children }: Props) {
const { theme } = useTheme();
return (
<div className="absolute top-0 bottom-0 left-0 right-0 flex justify-center items-center p-5">
<div className="m-auto flex flex-col gap-2">
<div className="m-auto flex flex-col gap-2 w-full">
{theme === "dark" ? (
<Image
src="/linkwarden_dark.png"
@@ -31,7 +31,7 @@ export default function CenteredForm({ text, children }: Props) {
/>
)}
{text ? (
<p className="text-lg sm:w-[30rem] w-80 mx-auto font-semibold text-black dark:text-white px-2 text-center">
<p className="text-lg max-w-[30rem] min-w-80 w-full mx-auto font-semibold text-black dark:text-white px-2 text-center">
{text}
</p>
) : undefined}