1
0
mirror of synced 2025-01-31 04:13:50 +01:00

Add xl screen layout to users page

This commit is contained in:
shiibe 2024-06-05 11:46:59 -04:00
parent c4467e8661
commit 28a09df28c

View File

@ -9,11 +9,11 @@
<MudText Typo="Typo.h4">@Localizer["Users"]</MudText>
<MudGrid Class="my-8">
@if (!AuthService.LoginRequired || (AuthService.LoginRequired && AuthService.IsAdmin)) {
if (isLoading == true)
if (isLoading == true || response == null)
{
// Loading...
for (uint i = 0; i < 6; i++) {
<MudItem xs="12" md="6" lg="4">
<MudItem xs="12" md="6" lg="4" xl="3">
<MudCard Outlined="true">
<MudCardContent>
<MudSkeleton Width="30%" Height="42px;" Class="mb-5" />
@ -32,7 +32,7 @@
} else if (response.Users.Count > 0) {
foreach (var user in response.Users)
{
<MudItem xs="12" md="6" lg="4">
<MudItem xs="12" md="6" lg="4" xl="3">
<UserCard User="user" UserSetting="user.UserSetting" />
</MudItem>
}