Skip to content

Commit

Permalink
moved inline css to external
Browse files Browse the repository at this point in the history
  • Loading branch information
jagadeeswaran-zipstack committed Sep 19, 2024
1 parent 1d9c6d8 commit d1b8760
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ import { Typography } from "antd";
import PropTypes from "prop-types";
import { displayPromptResult } from "../../../helpers/GetStaticData";
import { InfoCircleFilled } from "@ant-design/icons";
import "./PromptCard.css"

function DisplayPromptResult({ output }) {
if (!output) {
return (
<Typography.Text className="prompt-not-ran">
<span>
<InfoCircleFilled style={{ color: "#F0AD4E" }} />
<InfoCircleFilled className="info-circle-colored" />
</span>{" "}
Yet to run
</Typography.Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,7 @@
border-radius: 10px;
padding: 5px 10px;
}

.info-circle-colored {
color: #F0AD4E;
}

0 comments on commit d1b8760

Please sign in to comment.