fix styles, icons

This commit is contained in:
2023-10-01 15:24:00 +02:00
parent 7dfec0b3ed
commit 7646c83f59
7 changed files with 30 additions and 35 deletions

View File

@ -1,6 +1,7 @@
const BooleanPreview = ({ value }) =>
h("i", {
className: value ? "mdi mdi-check" : "mdi mdi-close",
style: { color: value ? "#00ff99" : "#ff0000", "font-size": "1.5rem" },
});
export default BooleanPreview;

View File

@ -6,7 +6,7 @@ const DraftPreview = ({ value }) =>
backgroundColor: value === true ? "rgb(37 99 235)" : "rgb(22 163 74)",
color: "white",
border: "none",
padding: "2px 6px",
padding: "0 5px",
textAlign: "center",
textDecoration: "none",
display: "inline-block",