mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
* fix unwanted alert list marker for single error, issue #3583 https://github.com/btcpayserver/btcpayserver/issues/3583 * Update ViewPullPayment.cshtml Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
This commit is contained in:
parent
df5add04e2
commit
533ae0ea89
2 changed files with 5 additions and 2 deletions
|
@ -34,6 +34,9 @@
|
|||
<link href="@Model.CustomCSSLink" rel="stylesheet" />
|
||||
}
|
||||
@Safe.Raw(Model.EmbeddedCSS)
|
||||
<style>
|
||||
.no-marker > ul { list-style-type: none; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="min-vh-100 d-flex flex-column">
|
||||
|
@ -78,8 +81,9 @@
|
|||
<partial name="_StatusMessage" model="@(new ViewDataDictionary(ViewData){ { "Margin", "mb-4" } })" />
|
||||
@if (!ViewContext.ModelState.IsValid)
|
||||
{
|
||||
@Html.ValidationSummary(string.Empty, new { @class = "alert alert-danger mb-4 pb-0 text-center" })
|
||||
@Html.ValidationSummary(string.Empty, new { @class = $"alert alert-danger mb-4 pb-0 {(ViewContext.ModelState.ErrorCount.Equals(1) ? "no-marker" : "")}" })
|
||||
}
|
||||
|
||||
<div class="row">
|
||||
<div class="col col-12 col-lg-6 mb-4">
|
||||
<div class="bg-tile h-100 m-0 p-3 p-sm-5 rounded">
|
||||
|
|
|
@ -417,4 +417,3 @@ svg.icon-note {
|
|||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue