@wopr-network/platform-ui-core 1.19.1 → 1.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/app/globals.css +7 -4
- package/src/app/layout.tsx +7 -1
package/package.json
CHANGED
package/src/app/globals.css
CHANGED
|
@@ -270,8 +270,10 @@
|
|
|
270
270
|
border-radius: var(--radius-md) !important;
|
|
271
271
|
color: var(--foreground) !important;
|
|
272
272
|
font-family: var(--font-mono), ui-monospace, monospace !important;
|
|
273
|
-
padding:
|
|
274
|
-
gap:
|
|
273
|
+
padding: 10px 14px !important;
|
|
274
|
+
gap: 6px !important;
|
|
275
|
+
max-width: 360px !important;
|
|
276
|
+
width: auto !important;
|
|
275
277
|
}
|
|
276
278
|
|
|
277
279
|
.dark [data-sonner-toast] {
|
|
@@ -283,12 +285,13 @@
|
|
|
283
285
|
[data-sonner-toast] [data-title] {
|
|
284
286
|
color: var(--foreground) !important;
|
|
285
287
|
font-weight: 600 !important;
|
|
286
|
-
font-size:
|
|
288
|
+
font-size: 12px !important;
|
|
289
|
+
line-height: 1.4 !important;
|
|
287
290
|
}
|
|
288
291
|
|
|
289
292
|
[data-sonner-toast] [data-description] {
|
|
290
293
|
color: var(--muted-foreground) !important;
|
|
291
|
-
font-size:
|
|
294
|
+
font-size: 11px !important;
|
|
292
295
|
}
|
|
293
296
|
|
|
294
297
|
[data-sonner-toast] [data-close-button] {
|
package/src/app/layout.tsx
CHANGED
|
@@ -75,7 +75,13 @@ export default async function RootLayout({
|
|
|
75
75
|
>
|
|
76
76
|
<TRPCProvider initialTenantId={initialTenantId}>
|
|
77
77
|
{children}
|
|
78
|
-
<Toaster
|
|
78
|
+
<Toaster
|
|
79
|
+
theme="dark"
|
|
80
|
+
position="bottom-right"
|
|
81
|
+
toastOptions={{
|
|
82
|
+
style: { maxWidth: "360px" },
|
|
83
|
+
}}
|
|
84
|
+
/>
|
|
79
85
|
</TRPCProvider>
|
|
80
86
|
</ThemeProvider>
|
|
81
87
|
</MotionConfig>
|