From 2a262c4e1e083e5b22f55b23f9c5e8bd4c47a7b3 Mon Sep 17 00:00:00 2001 From: Umar Bolatov Date: Mon, 9 Sep 2019 20:40:32 -0700 Subject: [PATCH] Allow removing transaction labels by clicking on an icon close #1025 --- .../Views/Wallets/WalletTransactions.cshtml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/BTCPayServer/Views/Wallets/WalletTransactions.cshtml b/BTCPayServer/Views/Wallets/WalletTransactions.cshtml index 2317fa3c1..73413b1eb 100644 --- a/BTCPayServer/Views/Wallets/WalletTransactions.cshtml +++ b/BTCPayServer/Views/Wallets/WalletTransactions.cshtml @@ -31,6 +31,21 @@ .transactionLabel:not(:last-child) { margin-bottom: 4px; } + + .removeTransactionLabelForm { + display: inline; + position: absolute; + right: 4px; + } + + .removeTransactionLabelForm button { + color: #212529; + cursor: pointer; + display: inline; + padding: 0; + background-color: transparent; + border: 0; + } @if (TempData.ContainsKey("TempDataProperty-StatusMessage")) { @@ -82,9 +97,25 @@ background-color: @label.Color; color: white; display: block; + padding-right: 16px; + position: relative; " > @label.Value +
+ + +
}