From d016f59867b508d09f031b14e4ff9f2c11150d2d Mon Sep 17 00:00:00 2001 From: d11n Date: Fri, 22 Jul 2022 13:29:53 +0200 Subject: [PATCH] Coin Selection: Fix responsive display (#3992) Fixes #3985. --- BTCPayServer.Tests/SeleniumTests.cs | 2 +- .../Views/UIWallets/CoinSelection.cshtml | 69 ++++++++----------- 2 files changed, 31 insertions(+), 40 deletions(-) diff --git a/BTCPayServer.Tests/SeleniumTests.cs b/BTCPayServer.Tests/SeleniumTests.cs index 4fe4d4110..37ac22326 100644 --- a/BTCPayServer.Tests/SeleniumTests.cs +++ b/BTCPayServer.Tests/SeleniumTests.cs @@ -924,7 +924,7 @@ namespace BTCPayServer.Tests s.Driver.WaitForElement(By.Id(spentOutpoint.ToString())); Assert.Equal("true", s.Driver.FindElement(By.Name("InputSelection")).GetAttribute("value").ToLowerInvariant()); - var el = s.Driver.FindElement(By.Id(spentOutpoint.ToString())); + s.Driver.FindElement(By.Id(spentOutpoint.ToString())); s.Driver.FindElement(By.Id(spentOutpoint.ToString())).Click(); var inputSelectionSelect = s.Driver.FindElement(By.Name("SelectedInputs")); Assert.Single(inputSelectionSelect.FindElements(By.CssSelector("[selected]"))); diff --git a/BTCPayServer/Views/UIWallets/CoinSelection.cshtml b/BTCPayServer/Views/UIWallets/CoinSelection.cshtml index a3f57c7d7..01d870679 100644 --- a/BTCPayServer/Views/UIWallets/CoinSelection.cshtml +++ b/BTCPayServer/Views/UIWallets/CoinSelection.cshtml @@ -24,48 +24,39 @@ -