visuddhinanda преди 2 години
родител
ревизия
f59837a785
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      dashboard/src/pages/library/article/show.tsx

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

@@ -127,9 +127,10 @@ const Widget = () => {
             <NetStatus style={{ color: "white" }} />
             <NetStatus style={{ color: "white" }} />
           </Space>
           </Space>
           <div></div>
           <div></div>
-          <div key="right" style={{ display: "flex" }}>
+          <Space key="right" style={{ display: "flex" }}>
             {type === "article" && loadedArticleData ? (
             {type === "article" && loadedArticleData ? (
               <Button
               <Button
+                ghost
                 onClick={() => {
                 onClick={() => {
                   navigate(
                   navigate(
                     `/studio/${loadedArticleData.studio?.realName}/article/${loadedArticleData.uid}/edit`
                     `/studio/${loadedArticleData.studio?.realName}/article/${loadedArticleData.uid}/edit`
@@ -183,7 +184,7 @@ const Widget = () => {
                 setRightPanel((value) => (value === "close" ? "open" : "close"))
                 setRightPanel((value) => (value === "close" ? "open" : "close"))
               }
               }
             />
             />
-          </div>
+          </Space>
         </Header>
         </Header>
       </Affix>
       </Affix>
       <div style={{ width: "100%", display: "flex" }}>
       <div style={{ width: "100%", display: "flex" }}>