Skip to content

Commit 9d11016

Browse files
committed
chore: update
1 parent 9f783ca commit 9d11016

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
position: relative;
3030

3131
display: flex;
32-
justify-content: center;
32+
justify-content: flex-start;
3333
flex-direction: row;
3434

3535
&__doc {
@@ -82,10 +82,7 @@
8282

8383
@media (min-width: 1280px) {
8484
.rp-doc-layout__doc {
85-
max-width: min(
86-
100%,
87-
calc(1440px - var(--rp-sidebar-width) - var(--rp-aside-width))
88-
);
85+
max-width: min(100%, 1000px);
8986
}
9087
.rp-doc-layout__sidebar {
9188
--rp-sidebar-margin-left: calc(

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,6 @@ export function DocLayout(props: DocLayoutProps) {
8080
onIsSidebarOpenChange={setIsSidebarOpen}
8181
uiSwitch={uiSwitch}
8282
/>
83-
{/* Menu sidebar for mobile */}
84-
<div className="rp-doc-layout__menu-sidebar">
85-
{/* Mobile sidebar content */}
86-
</div>
87-
88-
{/* Menu aside for mobile */}
89-
<div className="rp-doc-layout__menu-aside">
90-
{/* Mobile aside content */}
91-
</div>
9283
</div>
9384
<main className="rp-doc-layout__doc-container">
9485
{isOverviewPage ? (

0 commit comments

Comments
 (0)