mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-04 22:54:20 +01:00
Merge pull request #1026 from bolatovumar/fix-1024
[Wallet] Add space between transaction labels
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
ViewData.SetActivePageAndTitle(WalletsNavPages.Transactions);
|
||||
}
|
||||
<style type="text/css">
|
||||
|
||||
|
||||
.smMaxWidth {
|
||||
max-width: 200px;
|
||||
}
|
||||
@@ -20,6 +18,10 @@
|
||||
.unconf {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.transactionLabel:not(:last-child) {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
</style>
|
||||
@if (TempData.ContainsKey("TempDataProperty-StatusMessage"))
|
||||
{
|
||||
@@ -64,7 +66,17 @@
|
||||
<td style="text-align:left">
|
||||
@foreach (var label in transaction.Labels)
|
||||
{
|
||||
<a asp-route-labelFilter="@label.Value"><span class="badge" style="display:block;background-color:@label.Color;color:white;">@label.Value</span></a>
|
||||
<a
|
||||
asp-route-labelFilter="@label.Value"
|
||||
class="badge transactionLabel"
|
||||
style="
|
||||
background-color: @label.Color;
|
||||
color: white;
|
||||
display: block;
|
||||
"
|
||||
>
|
||||
@label.Value
|
||||
</a>
|
||||
}
|
||||
</td>
|
||||
<td class="smMaxWidth text-truncate @(transaction.IsConfirmed ? "" : "unconf")">
|
||||
|
||||
Reference in New Issue
Block a user