瀏覽代碼

最宽 960

visuddhinanda 3 年之前
父節點
當前提交
f890f6c4b8
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      dashboard/src/pages/library/article/show.tsx

+ 3 - 1
dashboard/src/pages/library/article/show.tsx

@@ -86,7 +86,9 @@ const Widget = () => {
         <div
           style={{ width: `calc(100% - ${rightBarWidth})`, display: "flex" }}
         >
-          <div>
+          <div
+            style={{ marginLeft: "auto", marginRight: "auto", maxWidth: 960 }}
+          >
             <Article
               active={true}
               type={type as ArticleType}