@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.js
CHANGED
|
@@ -302,7 +302,7 @@ function CookieBanner({
|
|
|
302
302
|
className
|
|
303
303
|
}) {
|
|
304
304
|
if (!visible) return null;
|
|
305
|
-
return /* @__PURE__ */ jsx("div", { className: cn("fixed bottom-0 left-0 right-0 z-50 p-4", className), children: /* @__PURE__ */ jsxs("div", { className: "
|
|
305
|
+
return /* @__PURE__ */ jsx("div", { className: cn("fixed bottom-0 left-0 right-0 z-50 sm:p-4", className), children: /* @__PURE__ */ 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: [
|
|
306
306
|
/* @__PURE__ */ jsxs("p", { className: "text-sm text-muted-foreground", children: [
|
|
307
307
|
"Utilizziamo i cookie per migliorare la tua esperienza.",
|
|
308
308
|
" ",
|
|
@@ -317,7 +317,7 @@ function CookieBanner({
|
|
|
317
317
|
}
|
|
318
318
|
)
|
|
319
319
|
] }),
|
|
320
|
-
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
320
|
+
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 items-center gap-2 self-end sm:self-auto", children: [
|
|
321
321
|
onManage && /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "sm", onClick: onManage, className: "hover:bg-transparent hover:underline", children: "Gestisci" }),
|
|
322
322
|
/* @__PURE__ */ jsx(Button, { variant: "outline", size: "sm", onClick: onReject, children: "Rifiuta" }),
|
|
323
323
|
/* @__PURE__ */ jsx(Button, { size: "sm", onClick: onAccept, children: "Accetta tutto" })
|