@wopr-network/platform-ui-core 1.19.1 → 1.19.3
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 +15 -4
- package/src/app/layout.tsx +7 -1
package/package.json
CHANGED
package/src/app/globals.css
CHANGED
|
@@ -262,6 +262,14 @@
|
|
|
262
262
|
/* ── Sonner toast — match platform theme ─────────────────────────── */
|
|
263
263
|
[data-sonner-toaster] {
|
|
264
264
|
font-family: var(--font-mono), ui-monospace, monospace !important;
|
|
265
|
+
--width: 320px !important;
|
|
266
|
+
position: fixed !important;
|
|
267
|
+
bottom: 20px !important;
|
|
268
|
+
right: 20px !important;
|
|
269
|
+
left: auto !important;
|
|
270
|
+
top: auto !important;
|
|
271
|
+
z-index: 99999 !important;
|
|
272
|
+
transform: none !important;
|
|
265
273
|
}
|
|
266
274
|
|
|
267
275
|
[data-sonner-toast] {
|
|
@@ -270,8 +278,10 @@
|
|
|
270
278
|
border-radius: var(--radius-md) !important;
|
|
271
279
|
color: var(--foreground) !important;
|
|
272
280
|
font-family: var(--font-mono), ui-monospace, monospace !important;
|
|
273
|
-
padding:
|
|
274
|
-
gap:
|
|
281
|
+
padding: 10px 14px !important;
|
|
282
|
+
gap: 6px !important;
|
|
283
|
+
text-align: center !important;
|
|
284
|
+
justify-content: center !important;
|
|
275
285
|
}
|
|
276
286
|
|
|
277
287
|
.dark [data-sonner-toast] {
|
|
@@ -283,12 +293,13 @@
|
|
|
283
293
|
[data-sonner-toast] [data-title] {
|
|
284
294
|
color: var(--foreground) !important;
|
|
285
295
|
font-weight: 600 !important;
|
|
286
|
-
font-size:
|
|
296
|
+
font-size: 12px !important;
|
|
297
|
+
line-height: 1.4 !important;
|
|
287
298
|
}
|
|
288
299
|
|
|
289
300
|
[data-sonner-toast] [data-description] {
|
|
290
301
|
color: var(--muted-foreground) !important;
|
|
291
|
-
font-size:
|
|
302
|
+
font-size: 11px !important;
|
|
292
303
|
}
|
|
293
304
|
|
|
294
305
|
[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>
|