Skip to content

Commit c3d039f

Browse files
fix: style of copy alert
1 parent 1d5d713 commit c3d039f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

apps/OpenSign/src/pages/UserProfile.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,7 @@ function UserProfile() {
341341
) : (
342342
<div className="flex justify-center items-center w-full relative">
343343
{isAlert && (
344-
<Alert
345-
className="z-[1000] fixed top-[10%] transform text-sm py-[.75rem] px-[1.25rem]"
346-
type={isAlert.type}
347-
>
344+
<Alert className="z-[1000] fixed top-[10%]" type={isAlert.type}>
348345
{isAlert.message}
349346
</Alert>
350347
)}

apps/OpenSign/src/primitives/Alert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const Alert = ({ children, type, className }) => {
2525
: "z-[1000] fixed top-20 left-1/2 transform -translate-x-1/2 text-sm"
2626
} `}
2727
>
28-
<div className={`op-alert ${textcolor}`}>
28+
<div className={`op-alert ${textcolor} flex items-center`}>
2929
<span>{children}</span>
3030
</div>
3131
</div>

0 commit comments

Comments
 (0)