Skip to content

Commit

Permalink
Fix title bar
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Dec 29, 2023
1 parent 4eaa5f6 commit 3e8428d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Pkmds.Web/Layout/MainLayout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@
Color="@Color.Inherit"
Edge="@Edge.Start"
OnClick="@DrawerToggle" />
<MudText Typo="@Typo.h4">
PKMDS Save Editor
<MudText Typo="@Typo.h4" class="d-none d-lg-flex">
@AppTitle
</MudText>
<MudText Typo="@Typo.h6" class="d-none d-md-flex d-lg-none">
@AppTitle
</MudText>
<MudText Typo="@Typo.inherit" class="d-xs-flex d-md-none">
@AppTitle
</MudText>
<MudSpacer />
<MudStack Row="@true">
Expand Down
2 changes: 2 additions & 0 deletions Pkmds.Web/Layout/MainLayout.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ namespace Pkmds.Web.Layout;

public partial class MainLayout
{
private const string AppTitle = "PKMDS Save Editor";

private bool isDarkMode;
private MudThemeProvider? mudThemeProvider;

Expand Down

0 comments on commit 3e8428d

Please sign in to comment.