refactor: update help message

This commit is contained in:
prafull-opensignlabs
2024-03-26 19:00:51 +05:30
parent 6161e975fb
commit 49cd30de96
4 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -3,11 +3,11 @@ import { Tooltip as ReactTooltip } from "react-tooltip";
import { openInNewTab } from "../constant/Utils";
const Tooltip = ({ children, id, message, url, iconColor }) =>
url ? (
<button onClick={() => openInNewTab(url)}>
<button onClick={() => openInNewTab(url)} className="text-center">
{children ? (
children
) : (
<i className="fa-solid fa-question border-[1.5px] px-1.5 py-0.5 rounded-full border-[#33bbff] text-xs text-[#33bbff]"></i>
<i className="fa-solid fa-question text-xs border-[1.5px] px-1 rounded-full border-[#33bbff] text-[#33bbff]"></i>
)}
</button>
) : (
@@ -21,7 +21,7 @@ const Tooltip = ({ children, id, message, url, iconColor }) =>
children
) : (
<i
className="fa-solid fa-question z-50 border-[1.5px] px-1.5 py-0.5 rounded-full text-xs"
className="fa-solid fa-question text-xs border-[1.5px] px-1 rounded-full border-[#33bbff] text-[#33bbff]"
style={{
borderColor: iconColor ? iconColor : "#33bbff",
color: iconColor ? iconColor : "#33bbff"