@brillout/docpress 0.16.2 → 0.16.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/Layout.tsx +21 -10
- package/dist/vite.config.js +0 -1
- package/docsearch/SearchLink.tsx +0 -2
- package/package.json +1 -1
- package/vite.config.ts +0 -1
package/Layout.tsx
CHANGED
|
@@ -282,6 +282,7 @@ function isNavLeftAlwaysHidden() {
|
|
|
282
282
|
const menuLinkStyle: React.CSSProperties = {
|
|
283
283
|
height: '100%',
|
|
284
284
|
padding: '0 var(--padding-side)',
|
|
285
|
+
paddingTop: 2,
|
|
285
286
|
justifyContent: 'center',
|
|
286
287
|
}
|
|
287
288
|
|
|
@@ -743,15 +744,25 @@ function DocsIcon() {
|
|
|
743
744
|
}
|
|
744
745
|
function MenuIcon() {
|
|
745
746
|
return (
|
|
746
|
-
<
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
747
|
+
<div style={{ display: 'inline-block', position: 'relative', top: 2, marginRight: 3, direction: 'rtl' }}>
|
|
748
|
+
{Array(3)
|
|
749
|
+
.fill(0)
|
|
750
|
+
.map((_, i) => (
|
|
751
|
+
<div
|
|
752
|
+
key={i}
|
|
753
|
+
style={{
|
|
754
|
+
background: 'currentColor',
|
|
755
|
+
width: (() => {
|
|
756
|
+
if (i === 0) return 18
|
|
757
|
+
if (i === 1) return 11
|
|
758
|
+
return 14
|
|
759
|
+
})(),
|
|
760
|
+
height: 2,
|
|
761
|
+
opacity: '0.8',
|
|
762
|
+
marginTop: i === 0 ? 0 : 4,
|
|
763
|
+
}}
|
|
764
|
+
/>
|
|
765
|
+
))}
|
|
766
|
+
</div>
|
|
756
767
|
)
|
|
757
768
|
}
|
package/dist/vite.config.js
CHANGED
|
@@ -39,5 +39,4 @@ const config = {
|
|
|
39
39
|
// ▲ [WARNING] Transforming this CSS nesting syntax is not supported in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14") [unsupported-css-nesting]
|
|
40
40
|
// ```
|
|
41
41
|
build: { target: 'es2022' },
|
|
42
|
-
clearScreen: false,
|
|
43
42
|
};
|
package/docsearch/SearchLink.tsx
CHANGED
package/package.json
CHANGED
package/vite.config.ts
CHANGED
|
@@ -43,5 +43,4 @@ const config: UserConfig = {
|
|
|
43
43
|
// ▲ [WARNING] Transforming this CSS nesting syntax is not supported in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14") [unsupported-css-nesting]
|
|
44
44
|
// ```
|
|
45
45
|
build: { target: 'es2022' },
|
|
46
|
-
clearScreen: false,
|
|
47
46
|
}
|