Skip to content

Commit

Permalink
Buttons made more consistent accross different pages (#151)
Browse files Browse the repository at this point in the history
* Align "Save" button to the right on CreateDeviceModelPage

* Align "Delete" and "Save" buttons to the right on DeviceDetailPage
  • Loading branch information
audserraCGI authored Jan 31, 2022
1 parent cd3728d commit a432137
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
</MudGrid>
</MudCardContent>
<MudCardActions Class="pb-4 pl-4">
<MudButton Variant="Variant.Filled" Color="Color.Primary" Class="ml-4" @onclick="Save">Save Changes</MudButton>
<MudButton Variant="Variant.Filled" Color="Color.Primary" Class="ml-auto" @onclick="Save">Save Changes</MudButton>
</MudCardActions>
</MudCard>
</MudItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
</MudGrid>
</MudCardContent>
<MudCardActions Class="pb-4 pl-4">
<MudButton Variant="Variant.Filled" Color="Color.Primary" Class="ml-auto" @onclick="SaveDevice">Save Changes</MudButton>
<MudButton Variant="Variant.Filled" Color="Color.Error" Class="ml-auto" @onclick="DeleteDevice">Delete Device</MudButton>
<MudButton Variant="Variant.Filled" Color="Color.Primary" Class="ml-4" @onclick="SaveDevice">Save Changes</MudButton>
</MudCardActions>
</MudCard>
</MudItem>
Expand Down

0 comments on commit a432137

Please sign in to comment.