mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
fix: style of copy alert
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user