fix: move close button to top right of modal (#438)

This commit is contained in:
Thiti Yamsung 2023-10-05 22:22:24 +07:00 committed by GitHub
parent 948333070a
commit edc685e54b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -387,7 +387,7 @@ export default function SendSats(props: ZapProps) {
return (
<Modal showContainer={true} centerVertically={true} onClose={onClose}>
<div className="bg-black rounded-lg p-8 w-[400px] relative">
<div className="bg-black rounded-lg p-8 relative">
<div className="lnurl-tip" onClick={(e) => e.stopPropagation()}>
<div className="absolute top-2.5 right-2.5 cursor-pointer" onClick={onClose}>
<XMarkIcon width={20} height={20} />