@fileverse-dev/ddoc 2.0.7-patch-1 → 2.0.7-patch-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/dist/index.es.js +9 -10
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -77312,9 +77312,9 @@ const gZe = ({
|
|
77312
77312
|
anchorTrigger: /* @__PURE__ */ z.jsxs(
|
77313
77313
|
"button",
|
77314
77314
|
{
|
77315
|
-
className: "bg-transparent hover:!bg-[#F2F4F5] rounded p-2 flex items-center justify-between gap-2 w-fit max-w-36",
|
77315
|
+
className: "bg-transparent hover:!bg-[#F2F4F5] !text-[#363B3F] rounded p-2 flex items-center justify-between gap-2 w-fit max-w-36",
|
77316
77316
|
children: [
|
77317
|
-
/* @__PURE__ */ z.jsx("span", { className: "text-body-sm truncate", children: r.name }),
|
77317
|
+
/* @__PURE__ */ z.jsx("span", { className: "text-body-sm !text-[#363B3F] truncate", children: r.name }),
|
77318
77318
|
/* @__PURE__ */ z.jsx(Ke, { name: "ChevronDown", size: "sm" })
|
77319
77319
|
]
|
77320
77320
|
}
|
@@ -141791,7 +141791,7 @@ const W3t = /* @__PURE__ */ ry(G3t), Z3t = ({
|
|
141791
141791
|
}, [fe, we, G]), !fe || le ? /* @__PURE__ */ z.jsxs("div", { className: "w-screen h-screen flex flex-col gap-4 justify-center items-center", children: [
|
141792
141792
|
/* @__PURE__ */ z.jsx(g$, {}),
|
141793
141793
|
/* @__PURE__ */ z.jsx("p", { children: "Loading Editor..." })
|
141794
|
-
] }) : /* @__PURE__ */ z.jsxs("div", { "data-cy": "single-webpage", className: "bg-[#f8f9fa]
|
141794
|
+
] }) : /* @__PURE__ */ z.jsxs("div", { "data-cy": "single-webpage", className: "bg-[#f8f9fa] w-full overflow-y-auto h-screen no-scrollbar", children: [
|
141795
141795
|
/* @__PURE__ */ z.jsx(
|
141796
141796
|
"nav",
|
141797
141797
|
{
|
@@ -141833,21 +141833,20 @@ const W3t = /* @__PURE__ */ ry(G3t), Z3t = ({
|
|
141833
141833
|
"div",
|
141834
141834
|
{
|
141835
141835
|
className: Ft(
|
141836
|
-
"bg-white w-full md:w-[850px] max-w-[850px] mx-auto rounded",
|
141836
|
+
"bg-white w-full md:w-[850px] max-w-[850px] mx-auto rounded h-full",
|
141837
141837
|
{ "mt-0 md:!mt-16": t },
|
141838
141838
|
{ "md:!mt-16": !t },
|
141839
141839
|
{ "pt-20 md:!mt-[7.5rem]": L && !t },
|
141840
|
-
{ "pt-6 md:!mt-16": !L && !t }
|
141840
|
+
{ "pt-6 md:!mt-16": !L && !t },
|
141841
|
+
{ "min-h-[83vh]": L },
|
141842
|
+
{ "min-h-[90vh]": !L }
|
141841
141843
|
),
|
141842
|
-
style: {
|
141843
|
-
height: G && !t ? "calc(100vh - 4rem)" : "95vh"
|
141844
|
-
},
|
141845
141844
|
children: [
|
141846
141845
|
/* @__PURE__ */ z.jsxs(
|
141847
141846
|
"div",
|
141848
141847
|
{
|
141849
141848
|
ref: we,
|
141850
|
-
className: "w-full h-full
|
141849
|
+
className: "w-full h-full pt-8 md:pt-0",
|
141851
141850
|
children: [
|
141852
141851
|
!t && /* @__PURE__ */ z.jsxs("div", { children: [
|
141853
141852
|
/* @__PURE__ */ z.jsx(AYe, { editor: fe, onError: g }),
|
@@ -142047,7 +142046,7 @@ const W3t = /* @__PURE__ */ ry(G3t), Z3t = ({
|
|
142047
142046
|
"div",
|
142048
142047
|
{
|
142049
142048
|
ref: I,
|
142050
|
-
className: Ie("overflow-
|
142049
|
+
className: Ie("overflow-x-hidden", k),
|
142051
142050
|
children: /* @__PURE__ */ z.jsxs(y$, { isPreviewMode: t, children: [
|
142052
142051
|
m && m.length > 0 && /* @__PURE__ */ z.jsxs("div", { ref: S, className: "flex flex-wrap px-4 md:px-[80px] lg:!px-[124px] items-center gap-1 mb-4 mt-4 lg:!mt-0", children: [
|
142053
142052
|
E.map((H, W) => /* @__PURE__ */ z.jsx(
|