Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Small style fix

Joshen Limef5804c5a2de
diff --git a/studio/components/interfaces/App/PortalToast.tsx b/studio/components/interfaces/App/PortalToast.tsx
index 2d6880027c0..347320ff009 100644
--- a/studio/components/interfaces/App/PortalToast.tsx
+++ b/studio/components/interfaces/App/PortalToast.tsx
@@ -33,7 +33,13 @@ const PortalToast = () => (
<>
{icon}
<div className="flex items-center">
- <div className="toast-message w-full">{message}</div>
+ <div
+ className={`toast-message w-full ${
+ t.type === 'loading' ? 'max-w-[350px]' : 'max-w-[260px]'
+ }`}
+ >
+ {message}
+ </div>
{t.type !== 'loading' && (
<div className="ml-4">
<Button className="!p-1" type="text" onClick={() => toast.dismiss(t.id)}>
diff --git a/studio/styles/toast.scss b/studio/styles/toast.scss
index cb823b8a008..03e7719f9a7 100644
--- a/studio/styles/toast.scss
+++ b/studio/styles/toast.scss
@@ -553,7 +553,6 @@
}
.toast-message {
- max-width: 350px;
div[role='status'] {
@apply justify-start w-full break-words;
word-break: break-word;