Bladeren bron

style(patient->outputtable): change button type to default in OutputActionPanel to display border and align with button styles on other panels

sw 1 maand geleden
bovenliggende
commit
cc238c4c32
1 gewijzigde bestanden met toevoegingen van 2 en 3 verwijderingen
  1. 2 3
      src/pages/patient/components/OutputActionPanel.tsx

+ 2 - 3
src/pages/patient/components/OutputActionPanel.tsx

@@ -13,7 +13,7 @@ const OutputActionPanel: React.FC = () => (
       }
     >
       <Button
-        type="text"
+        type="default"
         icon={<ReloadOutlined />}
         aria-label="重试"
         style={{ width: '1.5rem', height: '1.5rem' }}
@@ -28,10 +28,9 @@ const OutputActionPanel: React.FC = () => (
       }
     >
       <Button
-        type="text"
+        type="default"
         icon={<DeleteOutlined />}
         aria-label="删除"
-        danger
         style={{ width: '1.5rem', height: '1.5rem' }}
       />
     </Tooltip>