mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-27 04:59:22 +00:00
Fallback to manual payment if webln fails - might be due to user intentionally closing out of it
This commit is contained in:
parent
7c9f3cb797
commit
3101532a2b
@ -341,7 +341,6 @@ export function ZapDialog({ target, children, className }: ZapDialogProps) {
|
|||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
const drawerContent = document.querySelector('[data-testid="zap-modal"]') as HTMLElement;
|
const drawerContent = document.querySelector('[data-testid="zap-modal"]') as HTMLElement;
|
||||||
if (drawerContent) {
|
if (drawerContent) {
|
||||||
// Force the drawer to full height
|
|
||||||
drawerContent.style.height = '100%';
|
drawerContent.style.height = '100%';
|
||||||
drawerContent.style.maxHeight = '95vh';
|
drawerContent.style.maxHeight = '95vh';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user