Skip to content

Commit fa3ef00

Browse files
committed
chore: update
1 parent 16f2e27 commit fa3ef00

File tree

1 file changed

+4
-7
lines changed
  • packages/theme-default/src/layout/DocLayout

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
// postion
7272
position: sticky;
73-
margin-top: calc(-1 * var(--rp-sidebar-menu-height));
73+
// margin-top: calc(-1 * var(--rp-sidebar-menu-height));
7474
top: var(--rp-nav-height);
7575
left: 0;
7676
bottom: 0;
@@ -149,12 +149,9 @@
149149
}
150150
.rp-doc-layout {
151151
&__aside {
152-
max-height: calc(
153-
100vh - var(--rp-nav-height) - var(--rp-sidebar-menu-height)
154-
);
155-
156152
position: fixed;
157-
margin-top: var(--rp-sidebar-menu-height);
153+
inset-inline-end: 0;
154+
// margin-top: var(--rp-sidebar-menu-height);
158155
background-color: color-mix(in srgb, var(--rp-c-bg) 60%, transparent);
159156
backdrop-filter: blur(25px);
160157
padding: 20px 0px 20px 0px;
@@ -191,7 +188,7 @@
191188
top: var(--rp-nav-height);
192189
right: 0;
193190

194-
margin-top: var(--rp-sidebar-menu-height);
191+
// margin-top: var(--rp-sidebar-menu-height);
195192
height: calc(
196193
100vh - var(--rp-nav-height) - var(--rp-sidebar-menu-height)
197194
);

0 commit comments

Comments
 (0)