1
0
mirror of synced 2024-11-27 16:10:53 +01:00

Small style fixes

This commit is contained in:
shiibe 2022-09-15 11:57:39 -04:00
parent 30e681ba02
commit 6d46eeb624

View File

@ -23,13 +23,10 @@
<MudDataGridPager T="Title"/> <MudDataGridPager T="Title"/>
</PagerContent> </PagerContent>
</MudDataGrid>*@ </MudDataGrid>*@
<MudTable Items="@titles" Filter="@Filter" @bind-SelectedItem="@selectedTitle" Height="40vh"> <MudTable Items="@titles" Filter="@Filter" @bind-SelectedItem="@selectedTitle" Height="40vh" Hover="true">
<ColGroup> <ColGroup>
<col style="width: 150px;" /> <col style="width: 50px;" />
<col /> <col />
<col />
<col />
<col style="width: 150px;" />
</ColGroup> </ColGroup>
<ToolBarContent> <ToolBarContent>
<MudTextField @bind-Value="searchString" Placeholder="Search" Adornment="Adornment.Start" Immediate="true" <MudTextField @bind-Value="searchString" Placeholder="Search" Adornment="Adornment.Start" Immediate="true"
@ -39,7 +36,7 @@
<HeaderContent> <HeaderContent>
<MudTh> <MudTh>
<MudTableSortLabel SortBy="@(new Func<Title, object>(x => x.TitleId))"> <MudTableSortLabel SortBy="@(new Func<Title, object>(x => x.TitleId))">
Id ID
</MudTableSortLabel> </MudTableSortLabel>
</MudTh> </MudTh>
<MudTh> <MudTh>
@ -56,7 +53,7 @@
<MudTablePager PageSizeOptions="new []{10}"/> <MudTablePager PageSizeOptions="new []{10}"/>
</PagerContent> </PagerContent>
</MudTable> </MudTable>
<MudText Class="pt-4">Selected Title: @selectedTitle?.TitleName</MudText> <MudText Class="mt-4 d-block" Typo="Typo.caption"><b>Selected Title:</b> @selectedTitle?.TitleName</MudText>
</DialogContent> </DialogContent>
<DialogActions> <DialogActions>
<MudButton OnClick="Cancel">Cancel</MudButton> <MudButton OnClick="Cancel">Cancel</MudButton>