Skip to content

Commit

Permalink
#372 - Fix main menu responsiveness.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Nov 18, 2022
1 parent 89fc95e commit 49ab979
Show file tree
Hide file tree
Showing 5 changed files with 494 additions and 305 deletions.
4 changes: 2 additions & 2 deletions src/Money.Blazor.Host/Components/PwaInstall.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<li class="nav-item">
<a @ref="Button" class="nav-link" @onclick="InstallAsync" title="Install as application to your device" data-toggle="tooltip" data-placement="bottom">
<Icon Identifier="download" />
<span class="d-lg-none d-xl-inline">
<span class="d-lg-none">
Install
</span>
</a>
Expand All @@ -14,7 +14,7 @@ else if (IsUpdateable)
<li class="nav-item">
<a @ref="Button" class="nav-link" @onclick="UpdateAsync" title="Application update is ready. Reload page to complete." data-toggle="tooltip" data-placement="bottom">
<Icon Identifier="download" />
<span class="d-lg-none d-xl-inline">
<span class="d-lg-none">
Update
</span>
</a>
Expand Down
18 changes: 12 additions & 6 deletions src/Money.Blazor.Host/Layouts/MainMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,27 @@
<MainMenuSeparator />
<MainMenuLink Href="@Navigator.UrlCategories()">
<Icon Identifier="tag" />
Categories
<span class="d-lg-none d-xl-inline">
Categories
</span>
</MainMenuLink>
<MainMenuLink Href="@Navigator.UrlCurrencies()">
<Icon Identifier="pound-sign" />
Currencies
<span class="d-lg-none d-xl-inline">
Currencies
</span>
</MainMenuLink>
<MainMenuLink Href="@Navigator.UrlExpenseTemplates()" Title="Templates">
<MainMenuLink Href="@Navigator.UrlExpenseTemplates()">
<Icon Identifier="redo" />
Templates
<span class="d-lg-none d-xl-inline">
Templates
</span>
</MainMenuLink>
<MainMenuSeparator />
<PwaInstall />
<MainMenuLink Href="@Navigator.UrlAbout()">
<MainMenuLink Href="@Navigator.UrlAbout()" Title="About Money app">
<Icon Identifier="info-circle" />
<span class="d-lg-none d-xl-inline">
<span class="d-lg-none">
About
</span>
</MainMenuLink>
Expand Down
Loading

0 comments on commit 49ab979

Please sign in to comment.