Skip to content

Commit

Permalink
fix: style of copy alert
Browse files Browse the repository at this point in the history
  • Loading branch information
raktima-opensignlabs committed Aug 13, 2024
1 parent 1d5d713 commit c3d039f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions apps/OpenSign/src/pages/UserProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/OpenSign/src/primitives/Alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c3d039f

Please sign in to comment.