Skip to content

Commit b57ea81

Browse files
committed
chore: small fix
1 parent d9c2261 commit b57ea81

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/theme-default/src/components/Aside/useActiveAnchor.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const useVisibleAnchors = (headers: Header[]): string[] => {
3333

3434
export const useActiveAnchor = (headers: Header[], isBottom: boolean) => {
3535
const anchors = useVisibleAnchors(headers);
36-
console.log('anchors', anchors, headers, isBottom);
3736

3837
const anchorDirty = useRef<string>(null);
3938

packages/theme-default/src/layout/DocLayout/index.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
--rp-sidebar-width: 320px;
1313
--rp-sidebar-menu-height: 46px;
1414
--rp-aside-width: 268px;
15-
--rp-content-padding-x: 24px;
15+
--rp-content-padding-x: 80px;
1616
--rp-content-padding-y: 48px;
1717
}
1818

@@ -100,6 +100,8 @@
100100

101101
@media (max-width: 1279px) {
102102
.rp-doc-layout {
103+
--rp-content-padding-x: 24px;
104+
--rp-content-padding-y: 48px;
103105
&__aside {
104106
display: none;
105107
}
@@ -108,6 +110,7 @@
108110

109111
@media (max-width: 960px) {
110112
:root {
113+
--rp-z-index-nav: 40;
111114
--rp-z-index-sidebar: 70;
112115
}
113116
.rp-doc-layout {

0 commit comments

Comments
 (0)