mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
fix: fix toast style by shifting close icon, fix installation issues
This commit is contained in:
@@ -27,9 +27,9 @@ const CustomToast: FC<{ children: ReactNode }> = ({ children }) => {
|
|||||||
const alertType = toastToClassName(t.type);
|
const alertType = toastToClassName(t.type);
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`alert ${alertType} w-11/12 flex-row items-center shadow-lg animate-in fade-in duration-200 lg:w-4/12`}
|
className={`alert ${alertType} flex w-11/12 items-center justify-between shadow-lg animate-in fade-in duration-200 lg:w-4/12`}
|
||||||
>
|
>
|
||||||
<p>{resolveValue(t.message, t)}</p>
|
<p className="w-full">{resolveValue(t.message, t)}</p>
|
||||||
{t.type !== 'loading' && (
|
{t.type !== 'loading' && (
|
||||||
<div>
|
<div>
|
||||||
<button
|
<button
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
{
|
{
|
||||||
"buildCommand": "npx prisma generate && npx prisma migrate deploy && next build"
|
"buildCommand": "npx prisma generate && npx prisma migrate deploy && next build",
|
||||||
|
"installCommand": "npm install --legacy-peer-deps"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user