1
0
mirror of synced 2024-11-23 22:41:01 +01:00

Add vh sizing to title table

This should allow the entire dialog to be visible when browser is at least ~540px in height.
This commit is contained in:
shiibe 2022-09-15 11:43:27 -04:00
parent e93bf5bb44
commit 30e681ba02
2 changed files with 2 additions and 4 deletions

View File

@ -23,7 +23,7 @@
<MudDataGridPager T="Title"/>
</PagerContent>
</MudDataGrid>*@
<MudTable Items="@titles" Filter="@Filter" @bind-SelectedItem="@selectedTitle">
<MudTable Items="@titles" Filter="@Filter" @bind-SelectedItem="@selectedTitle" Height="40vh">
<ColGroup>
<col style="width: 150px;" />
<col />
@ -32,8 +32,6 @@
<col style="width: 150px;" />
</ColGroup>
<ToolBarContent>
<MudText Typo="Typo.h6">Built in titles</MudText>
<MudSpacer/>
<MudTextField @bind-Value="searchString" Placeholder="Search" Adornment="Adornment.Start" Immediate="true"
AdornmentIcon="@Icons.Material.Filled.Search" IconSize="Size.Medium" Class="mt-0">
</MudTextField>

View File

@ -86,7 +86,7 @@ public partial class Profile
{
["UserSetting"] = response
};
var dialog = DialogService.Show<ChooseTitleDialog>("Choose a built in dialog", parameters, options);
var dialog = DialogService.Show<ChooseTitleDialog>("Player Titles", parameters, options);
var result = await dialog.Result;
if (!result.Cancelled)
{