@appolabs/ui 0.1.21 → 0.1.22
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -354,7 +354,7 @@ function CookieBanner({
|
|
|
354
354
|
className
|
|
355
355
|
}) {
|
|
356
356
|
if (!visible) return null;
|
|
357
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("fixed bottom-0 left-0 right-0 z-50 p-4", className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
357
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("fixed bottom-0 left-0 right-0 z-50 sm:p-4", className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border border-border bg-card/95 backdrop-blur-sm flex flex-col gap-4 px-4 py-4 sm:rounded-xl sm:flex-row sm:items-center sm:justify-between", children: [
|
|
358
358
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm text-muted-foreground", children: [
|
|
359
359
|
"Utilizziamo i cookie per migliorare la tua esperienza.",
|
|
360
360
|
" ",
|
|
@@ -369,7 +369,7 @@ function CookieBanner({
|
|
|
369
369
|
}
|
|
370
370
|
)
|
|
371
371
|
] }),
|
|
372
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
372
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2 self-end sm:self-auto", children: [
|
|
373
373
|
onManage && /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "ghost", size: "sm", onClick: onManage, className: "hover:bg-transparent hover:underline", children: "Gestisci" }),
|
|
374
374
|
/* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "outline", size: "sm", onClick: onReject, children: "Rifiuta" }),
|
|
375
375
|
/* @__PURE__ */ jsxRuntime.jsx(Button, { size: "sm", onClick: onAccept, children: "Accetta tutto" })
|