Merge pull request #1026 from bolatovumar/fix-1024

[Wallet] Add space between transaction labels
This commit is contained in:
Nicolas Dorier
2019-09-09 13:33:03 +09:00
committed by GitHub

View File

@@ -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")">