From b4d9ff64659ae0eaa00582b2fc8977617148da81 Mon Sep 17 00:00:00 2001 From: Keith Date: Sun, 14 Feb 2021 23:10:17 -0700 Subject: [PATCH] -Hide mobile menu buttons -Nuget updates --- .gitattributes | 7 ++++--- .../.config/dotnet-tools.json | 12 ++++++++++++ .../BlazorBoilerplate.Server.csproj | 4 ++-- .../Shared/Components/DonateButton.razor | 2 +- .../Shared/Components/SelectCulture.razor | 2 +- .../wwwroot/css/site.css | 4 ++++ 6 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 src/Server/BlazorBoilerplate.Server/.config/dotnet-tools.json diff --git a/.gitattributes b/.gitattributes index 1ff0c4230..c48df5003 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,6 +2,7 @@ # Set default behavior to automatically normalize line endings. ############################################################################### * text=auto +* -crlf ############################################################################### # Set default behavior for command prompt diff. @@ -17,7 +18,7 @@ # # Merging from the command prompt will add diff markers to the files if there # are conflicts (Merging from VS is not affected by the settings below, in VS -# the diff markers are never inserted). Diff markers may cause the following +# the diff markers are never inserted). Diff markers may cause the following # file extensions to fail to load in VS. An alternative would be to treat # these files as binary and thus will always conflict and require user # intervention with every merge. To do so, just uncomment the entries below @@ -46,9 +47,9 @@ ############################################################################### # diff behavior for common document formats -# +# # Convert binary document formats to text before diffing them. This feature -# is only available from the command line. Turn it on by uncommenting the +# is only available from the command line. Turn it on by uncommenting the # entries below. ############################################################################### #*.doc diff=astextplain diff --git a/src/Server/BlazorBoilerplate.Server/.config/dotnet-tools.json b/src/Server/BlazorBoilerplate.Server/.config/dotnet-tools.json new file mode 100644 index 000000000..aaaa036bb --- /dev/null +++ b/src/Server/BlazorBoilerplate.Server/.config/dotnet-tools.json @@ -0,0 +1,12 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-ef": { + "version": "5.0.3", + "commands": [ + "dotnet-ef" + ] + } + } +} \ No newline at end of file diff --git a/src/Server/BlazorBoilerplate.Server/BlazorBoilerplate.Server.csproj b/src/Server/BlazorBoilerplate.Server/BlazorBoilerplate.Server.csproj index 6b12aa5fe..96738b7f9 100644 --- a/src/Server/BlazorBoilerplate.Server/BlazorBoilerplate.Server.csproj +++ b/src/Server/BlazorBoilerplate.Server/BlazorBoilerplate.Server.csproj @@ -26,7 +26,7 @@ - + @@ -46,7 +46,7 @@ - + diff --git a/src/Shared/Modules/BlazorBoilerplate.Theme.Material.Demo/Shared/Components/DonateButton.razor b/src/Shared/Modules/BlazorBoilerplate.Theme.Material.Demo/Shared/Components/DonateButton.razor index 044d01ec2..035c18cd3 100644 --- a/src/Shared/Modules/BlazorBoilerplate.Theme.Material.Demo/Shared/Components/DonateButton.razor +++ b/src/Shared/Modules/BlazorBoilerplate.Theme.Material.Demo/Shared/Components/DonateButton.razor @@ -1,4 +1,4 @@ - Donate + @code { } diff --git a/src/Shared/Modules/BlazorBoilerplate.Theme.Material/Shared/Components/SelectCulture.razor b/src/Shared/Modules/BlazorBoilerplate.Theme.Material/Shared/Components/SelectCulture.razor index 0d9cd81f2..4a00224f0 100644 --- a/src/Shared/Modules/BlazorBoilerplate.Theme.Material/Shared/Components/SelectCulture.razor +++ b/src/Shared/Modules/BlazorBoilerplate.Theme.Material/Shared/Components/SelectCulture.razor @@ -1,7 +1,7 @@ @inject NavigationManager navigationManager @inject IJSRuntime js - i.Item2) ValueChanged="(string i) => OnCultureChanged(i)"> diff --git a/src/Shared/Modules/BlazorBoilerplate.Theme.Material/wwwroot/css/site.css b/src/Shared/Modules/BlazorBoilerplate.Theme.Material/wwwroot/css/site.css index b7e30f346..a3cae47f3 100644 --- a/src/Shared/Modules/BlazorBoilerplate.Theme.Material/wwwroot/css/site.css +++ b/src/Shared/Modules/BlazorBoilerplate.Theme.Material/wwwroot/css/site.css @@ -630,6 +630,10 @@ ul.breadcrumb { .logo-img { height: 38px; } + .selectCulture, + .donate span { + display: none; + } } /* Small devices (landscape phones, less than 768px)*/