Преглед изворни кода

Replace exclamation in circle icons

satof3 пре 2 година
родитељ
комит
706d3b06bb

+ 1 - 1
packages/remark-attachment-refs/src/client/components/AttachmentList.tsx

@@ -51,7 +51,7 @@ export const AttachmentList = ({
     if (error != null) {
       return (
         <div className="text-warning">
-          <i className="fa fa-exclamation-triangle fa-fw"></i>
+          <span className="material-symbols-outlined me-1">warning</span>
           {refsContext.toString()} (-&gt; <small>{error.message}</small>)
         </div>
       );

+ 1 - 1
packages/remark-lsx/src/client/components/Lsx.tsx

@@ -53,7 +53,7 @@ const LsxSubstance = React.memo(({
     return (
       <details>
         <summary className="text-warning">
-          <i className="fa fa-exclamation-triangle fa-fw"></i> {lsxContext.toString()}
+          <span className="material-symbols-outlined me-1">warning</span> {lsxContext.toString()}
         </summary>
         <small className="ms-3 text-muted">{errorMessage}</small>
       </details>