Skip to content

Commit

Permalink
Make song title a fixed width
Browse files Browse the repository at this point in the history
  • Loading branch information
shiibe committed Sep 13, 2022
1 parent a43484a commit 437b981
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TaikoWebUI/Pages/TaikoMode.razor
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
@if (songBestDataMap.ContainsKey(difficulty))
{
<MudDataGrid Items="@songBestDataMap[difficulty]"
ColumnResizeMode="ResizeMode.Container" RowsPerPage="25" Elevation="0">
ColumnResizeMode="ResizeMode.None" RowsPerPage="25" Elevation="0">
<Columns>
<Column T="SongBestData" Field="@nameof(SongBestData.SongId)" Title="Song" StickyLeft="true" CellStyle="min-width:400px;">
<Column T="SongBestData" Field="@nameof(SongBestData.SongId)" Title="Song" StickyLeft="true">
<CellTemplate>
<MudStack Row="true" Justify="Justify.SpaceBetween" AlignItems="AlignItems.Center" Style="width:100%">
<div>
<MudStack Row="true" Justify="Justify.SpaceBetween" AlignItems="AlignItems.Center">
<div style="width:300px">
<MudText Typo="Typo.body2" Style="font-weight:bold">@context.Item.MusicName</MudText>
<MudText Typo="Typo.caption">@context.Item.MusicArtist</MudText>
</div>
Expand Down

0 comments on commit 437b981

Please sign in to comment.