We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8662458 commit 6e8a6a8Copy full SHA for 6e8a6a8
.changeset/great-buttons-dress.md
@@ -0,0 +1,5 @@
1
+---
2
+'@rspress/theme-default': patch
3
4
+
5
+fix: adjust rspress doc max width
packages/theme-default/src/layout/DocLayout/index.module.scss
@@ -107,7 +107,7 @@
107
padding: 0 48px;
108
box-sizing: border-box;
109
width: calc(100vw - var(--rp-sidebar-width) - var(--rp-aside-width));
110
- max-width: calc(960px + 48px * 2);
+ max-width: min(100%, calc(960px + 48px * 2));
111
margin: auto;
112
}
113
@@ -125,7 +125,7 @@
125
126
127
128
129
130
131
0 commit comments