Jelajahi Sumber

阅读模式宽度750

visuddhinanda 1 tahun lalu
induk
melakukan
1604e2d422
1 mengubah file dengan 7 tambahan dan 1 penghapusan
  1. 7 1
      dashboard/src/pages/library/article/show.tsx

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

@@ -337,8 +337,14 @@ const Widget = () => {
           style={{ width: `calc(100% - ${rightBarWidth})`, display: "flex" }}
           style={{ width: `calc(100% - ${rightBarWidth})`, display: "flex" }}
         >
         >
           <div
           <div
+            className="article_shell"
             key="Article"
             key="Article"
-            style={{ marginLeft: "auto", marginRight: "auto", width: 1100 }}
+            style={{
+              marginLeft: "auto",
+              marginRight: "auto",
+              width: 1100,
+              maxWidth: currMode === "read" ? 750 : "unset",
+            }}
           >
           >
             <LoginAlertModal mode={currMode} />
             <LoginAlertModal mode={currMode} />
             {type !== "textbook" ? (
             {type !== "textbook" ? (