Skip to content

Commit

Permalink
WatchCinema.MudBlazor - Add Tailwind MudSelect.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stan-Kudri committed Jul 13, 2024
1 parent 4944fda commit bfee99c
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions WatchList.MudBlazors/Pages/WatchCinemaTable.razor
Original file line number Diff line number Diff line change
Expand Up @@ -97,23 +97,23 @@
</RowTemplate>


<PagerContent >
<MudGrid>
<MudItem xs="12" sm="4">
<MudSelect T="int" Label="Show on page" @bind-Value="_pageModel.Size" SelectedValuesChanged="LoadData" Style="max-width:200px;">
@foreach (var sizePage in _pageModel.Items)
{
<MudSelectItem T="int" Value="@sizePage" />
}
</MudSelect>
</MudItem>
<MudItem xs="12" sm="4" Style="align-self:center">
<div style="text-align:center;">
<MudPagination SelectedChanged="PageChanged" BoundaryCount="1" MiddleCount="3" Count="_pagedList.PageCount" Class="align-self-center" />
</div>
</MudItem>
</MudGrid>
</PagerContent>
<PagerContent >
<MudGrid>
<MudItem xs="12" sm="4">
<MudSelect T="int" Label="Show on page" @bind-Value="_pageModel.Size" SelectedValuesChanged="LoadData" Style="max-width:200px;" Class="ml-4">
@foreach (var sizePage in _pageModel.Items)
{
<MudSelectItem T="int" Value="@sizePage" />
}
</MudSelect>
</MudItem>
<MudItem xs="12" sm="4" Style="align-self:center">
<div style="text-align:center;">
<MudPagination SelectedChanged="PageChanged" BoundaryCount="1" MiddleCount="3" Count="_pagedList.PageCount" Class="align-self-center" />
</div>
</MudItem>
</MudGrid>
</PagerContent>

</MudTable>

Expand Down

0 comments on commit bfee99c

Please sign in to comment.