Skip to content

🔥 The free & Open Source DocuSign alternative

fix: style of copy alert

RaktimaNXGc3d039fe45ac
diff --git a/apps/OpenSign/src/pages/UserProfile.js b/apps/OpenSign/src/pages/UserProfile.js
index ddccb116e..d5b9c75d8 100644
--- a/apps/OpenSign/src/pages/UserProfile.js
+++ b/apps/OpenSign/src/pages/UserProfile.js
@@ -341,10 +341,7 @@ function UserProfile() {
) : (
<div className="flex justify-center items-center w-full relative">
{isAlert && (
- <Alert
- className="z-[1000] fixed top-[10%] transform text-sm py-[.75rem] px-[1.25rem]"
- type={isAlert.type}
- >
+ <Alert className="z-[1000] fixed top-[10%]" type={isAlert.type}>
{isAlert.message}
</Alert>
)}
diff --git a/apps/OpenSign/src/primitives/Alert.js b/apps/OpenSign/src/primitives/Alert.js
index 5b605d1b4..b93dd80d2 100644
--- a/apps/OpenSign/src/primitives/Alert.js
+++ b/apps/OpenSign/src/primitives/Alert.js
@@ -25,7 +25,7 @@ const Alert = ({ children, type, className }) => {
: "z-[1000] fixed top-20 left-1/2 transform -translate-x-1/2 text-sm"
} `}
>
- <div className={`op-alert ${textcolor}`}>
+ <div className={`op-alert ${textcolor} flex items-center`}>
<span>{children}</span>
</div>
</div>