mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-04 09:58:13 +01:00
UI: Fix standalone confirmation modal
This commit is contained in:
parent
fc14f418cb
commit
9aff143d40
2 changed files with 6 additions and 7 deletions
|
@ -7,18 +7,19 @@
|
|||
|
||||
@section PageHeadContent {
|
||||
<style>
|
||||
body > .content-wrapper { display: flex; min-height: 100vh; }
|
||||
body > .content-wrapper { flex-grow: 1; display: flex; }
|
||||
body > .content-wrapper, body > .content-wrapper > .container { flex-grow:1; }
|
||||
.modal-dialog .btn-close { display: none; }
|
||||
</style>
|
||||
}
|
||||
|
||||
@section PageFootContent {
|
||||
<script>
|
||||
document.getElementById('ConfirmCancel').addEventListener('click', function () {
|
||||
delegate('click', '#ConfirmCancel', function () {
|
||||
history.back();
|
||||
return false;
|
||||
})
|
||||
</script>
|
||||
}
|
||||
|
||||
<partial name="ConfirmModal" model="Model" />
|
||||
<div class="modal position-static d-block" tabindex="-1">
|
||||
<partial name="ConfirmModal" model="Model" />
|
||||
</div>
|
||||
|
|
|
@ -14,8 +14,6 @@
|
|||
</head>
|
||||
<body class="d-flex flex-column min-vh-100">
|
||||
<section class="content-wrapper flex-grow-1">
|
||||
@*Dummy navbar-brand, hackish way to keep test AssertNoError passing*@
|
||||
<div class="navbar-brand d-none"></div>
|
||||
<div class="container">
|
||||
@RenderBody()
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue