Skip to content

Commit

Permalink
positioning copy icon wallet details
Browse files Browse the repository at this point in the history
  • Loading branch information
lopezi committed Mar 28, 2024
1 parent 984c881 commit bae9085
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/aoWebWallet/Pages/WalletDetail.razor
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
@if (BindingContext.SelectedWallet?.NeedsBackup ?? false)
{
<MudStack Row="true">
<MudIcon style="margin-left:2px; width:20px; padding-bottom:4px;" Icon="@Icons.Material.Filled.Warning" Color="Color.Warning" />
<MudText Typo="Typo.body2">Wallet not backed up yet!</MudText>
<MudIcon style="margin-left:2px; width:20px; padding-bottom:4px;" Icon="@Icons.Material.Filled.Warning" Color="Color.Warning" />
<MudText Typo="Typo.body2">Wallet not backed up yet!</MudText>
</MudStack>
}
</MudStack>
<MudIconButton Class="copy-clipboard" Icon="@Icons.Material.Filled.ContentCopy" Color="Color.Default" OnClick="async () => { await BindingContext.CopyToClipboard(BindingContext.SelectedWallet?.Address); }" />
<MudIconButton Class="copy-clipboard mb-4 ml-0" Icon="@Icons.Material.Filled.ContentCopy" Color="Color.Default" OnClick="async () => { await BindingContext.CopyToClipboard(BindingContext.SelectedWallet?.Address); }" />
<MudSpacer />
@if (!string.IsNullOrEmpty(BindingContext.SelectedWallet?.Jwk))
{
Expand All @@ -34,7 +34,7 @@
</MudTooltip>
}
<MudTooltip Text="Refresh balances" Arrow="true" Placement="Placement.Left">
<MudIconButton Icon="@Icons.Material.Filled.Refresh" aria-label="refresh transactions" OnClick="RefreshBalances"></MudIconButton>
<MudIconButton Class="mt-1" Icon="@Icons.Material.Filled.Refresh" aria-label="refresh transactions" OnClick="RefreshBalances"></MudIconButton>
</MudTooltip>
@if(BindingContext.SelectedWallet?.Source == WalletTypes.Explorer)
{
Expand Down

0 comments on commit bae9085

Please sign in to comment.