Made save button a FAB

This commit is contained in:
Pat Hartl 2023-02-07 01:47:12 -06:00
parent a0145a83dc
commit c1eb0adf4d

View file

@ -45,15 +45,13 @@
<ActionEditor Actions="Game.Actions" ArchiveId="Game.Archives.OrderByDescending(a => a.CreatedOn).First().Id" />
<MultiplayerModeEditor Game="Game" />
<div class="d-flex align-center justify-space-between">
<MudButton Variant="Variant.Filled" Color="Color.Primary" Disabled="@(!Success)" OnClick="Save">Save</MudButton>
</div>
</MudForm>
</MudPaper>
</MudItem>
</MudGrid>
<MudFab Color="Color.Primary" Disabled="@(!Success)" OnClick="Save" StartIcon="@Icons.Material.Filled.Save" Style="position: fixed; right: 32px; bottom: 32px;" />
@code {
[Parameter] public Guid Id { get; set; }