@industry-theme/markdown-panels 0.2.10 → 0.2.11
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/panels.bundle.js +18 -7
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +2 -2
package/dist/panels.bundle.js
CHANGED
|
@@ -47136,13 +47136,24 @@ var SlidePresentationBook = ({
|
|
|
47136
47136
|
}) : /* @__PURE__ */ React2__default.createElement(React2__default.Fragment, null, effectiveTocDisplayMode === "overlay" && /* @__PURE__ */ React2__default.createElement("div", {
|
|
47137
47137
|
style: {
|
|
47138
47138
|
position: "absolute",
|
|
47139
|
-
|
|
47140
|
-
|
|
47141
|
-
|
|
47142
|
-
|
|
47139
|
+
...isMobile ? {
|
|
47140
|
+
bottom: 0,
|
|
47141
|
+
left: 0,
|
|
47142
|
+
right: 0,
|
|
47143
|
+
width: "100%",
|
|
47144
|
+
maxHeight: "70vh",
|
|
47145
|
+
borderTop: `1px solid ${theme2.colors.border}`,
|
|
47146
|
+
borderRadius: `${theme2.radii[2]}px ${theme2.radii[2]}px 0 0`,
|
|
47147
|
+
transform: showTOC ? "translateY(0)" : "translateY(100%)"
|
|
47148
|
+
} : {
|
|
47149
|
+
top: 0,
|
|
47150
|
+
left: 0,
|
|
47151
|
+
bottom: 0,
|
|
47152
|
+
width: "300px",
|
|
47153
|
+
borderRight: `1px solid ${theme2.colors.border}`,
|
|
47154
|
+
transform: showTOC ? "translateX(0)" : "translateX(-100%)"
|
|
47155
|
+
},
|
|
47143
47156
|
backgroundColor: theme2.colors.backgroundSecondary,
|
|
47144
|
-
borderRight: `1px solid ${theme2.colors.border}`,
|
|
47145
|
-
transform: showTOC ? "translateX(0)" : "translateX(-100%)",
|
|
47146
47157
|
transition: "transform 0.3s ease",
|
|
47147
47158
|
zIndex: 10,
|
|
47148
47159
|
overflowY: "auto",
|
|
@@ -47960,7 +47971,7 @@ const MarkdownPanel = ({
|
|
|
47960
47971
|
enableKeyboardScrolling: true,
|
|
47961
47972
|
tocDisplayMode: "sidebar",
|
|
47962
47973
|
tocSidebarPosition: "left",
|
|
47963
|
-
initialTocOpen:
|
|
47974
|
+
initialTocOpen: false
|
|
47964
47975
|
}
|
|
47965
47976
|
)
|
|
47966
47977
|
}
|