diff --git a/src/components/IconGrid/IconGrid.css b/src/components/IconGrid/IconGrid.css index 587fb9c..77c642f 100644 --- a/src/components/IconGrid/IconGrid.css +++ b/src/components/IconGrid/IconGrid.css @@ -39,6 +39,7 @@ line-height: 16px; color: #86838B; margin-top: 12px; + text-align: center; } .info-box { diff --git a/src/components/IconGrid/InfoPanel.tsx b/src/components/IconGrid/InfoPanel.tsx index 23f4780..32f2417 100644 --- a/src/components/IconGrid/InfoPanel.tsx +++ b/src/components/IconGrid/InfoPanel.tsx @@ -4,10 +4,10 @@ import { motion } from "framer-motion"; import { saveAs } from "file-saver"; import { Icon, - ArrowUpRightCircle, Copy, - Prohibit, + X, CheckCircle, + ArchiveDiskDot, } from "phosphor-react"; import { @@ -116,7 +116,7 @@ const InfoPanel: React.FC = (props) => { {copied === "html" ? ( ) : ( - + )} @@ -132,7 +132,7 @@ const InfoPanel: React.FC = (props) => { {copied === "react" ? ( ) : ( - + )} @@ -142,10 +142,10 @@ const InfoPanel: React.FC = (props) => { style={{ color: isDark ? "white" : "black" }} onClick={handleDownloadSVG} > - {" "} Download SVG @@ -163,7 +163,7 @@ const InfoPanel: React.FC = (props) => { )} {copied === "svg" ? "Copied!" : "Copy SVG"} @@ -171,11 +171,11 @@ const InfoPanel: React.FC = (props) => {
- setOpen(false)} />