Browse Source

style(docs): Change fixed width to adaptive width. (#499)

Demo Jx 6 months ago
parent
commit
6cdd7aa149
1 changed files with 2 additions and 2 deletions
  1. 2 2
      apps/docs/global.less

+ 2 - 2
apps/docs/global.less

@@ -4,11 +4,11 @@
  */
  */
 
 
 .rspress-doc-container:not(:has(.aside-container_edeb4)) .rspress-doc {
 .rspress-doc-container:not(:has(.aside-container_edeb4)) .rspress-doc {
-  width: 1400px;
+  width: auto;
   max-width: 1400px;
   max-width: 1400px;
 }
 }
 .rspress-doc-container:not(:has(.aside-container_edeb4)) .rspress-doc-footer {
 .rspress-doc-container:not(:has(.aside-container_edeb4)) .rspress-doc-footer {
-  width: 1400px;
+  width: auto;
   max-width: 1400px;
   max-width: 1400px;
 }
 }