Browse Source

fix: set proportion width and height for confirm modal

ayn2op 7 tháng trước cách đây
mục cha
commit
5cecfddae7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      cmd/application.go

+ 1 - 1
cmd/application.go

@@ -170,6 +170,6 @@ func (a *application) showConfirmModal(prompt string, buttons []string, onDone f
 		})
 
 	a.pages.
-		AddAndSwitchToPage(confirmModalPageName, ui.Centered(modal, 40, 10), true).
+		AddAndSwitchToPage(confirmModalPageName, ui.Centered(modal, 0, 0), true).
 		ShowPage(flexPageName)
 }