Skip to content

Commit 451eef4

Browse files
committed
Last changes before hotfix
1 parent c694fc6 commit 451eef4

6 files changed

Lines changed: 24 additions & 22 deletions

File tree

KCD2.ModForge.UI/Layout/MainLayout.razor

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,21 @@
44
<MudDialogProvider />
55
<MudSnackbarProvider />
66

7-
<MudLayout>
8-
<MudMainContent Style="padding-top: 6px">
9-
@if (!_isLoaded)
10-
{
11-
<div class="loading-screen">Lädt...</div>
12-
}
13-
else
14-
{
15-
@Body
16-
}
17-
</MudMainContent>
18-
<StartupLoader />
7+
<MudLayout Style="height: 100vh; width: 100vw; display: flex; flex-direction: column;">
8+
<MudMainContent Style="flex-grow: 1; padding-top: 6px; display: flex; justify-content: center; align-items: center;">
9+
@if (!_isLoaded)
10+
{
11+
<div class="loading-screen" style="width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;">
12+
Lädt...
13+
</div>
14+
}
15+
else
16+
{
17+
<div style="width: 100%; height: 100%;">
18+
@Body
19+
</div>
20+
}
21+
</MudMainContent>
22+
23+
<StartupLoader />
1924
</MudLayout>

KCD2.ModForge.UI/Pages/ModDashboard.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
2121
{
2222
var parameters = new DialogParameters<MoreModItemsDialog>
2323
{
24-
{ x => x.ButtonText, "Bring me the sacred data." }
24+
{ x => x.ButtonText, "Bring me the sacred data" }
2525
};
2626

2727
var options = new DialogOptions() { CloseButton = false, MaxWidth = MaxWidth.ExtraSmall, BackdropClick = false, BackgroundClass = "entry-dialog", CloseOnEscapeKey = false, FullWidth = true };

KCD2.ModForge.Wpf/KCD2.ModForge.Wpf.csproj

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,16 @@
3232
<ProjectReference Include="..\KCD2.ModForge.UI\KCD2.ModForge.UI.csproj" />
3333
</ItemGroup>
3434

35-
<ItemGroup>
36-
<Resource Include="wwwroot\images\Icons\modforge.png">
37-
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
38-
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
39-
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
40-
</Resource>
41-
</ItemGroup>
42-
4335
<ItemGroup>
4436
<None Include="wwwroot\images\Icons\forgeicon.png" />
4537
<None Include="wwwroot\images\Icons\forgeicon2.png" />
4638
<None Include="wwwroot\images\Icons\modforge_icon_no_letters.png" />
4739
</ItemGroup>
4840

41+
<ItemGroup>
42+
<Resource Include="wwwroot\images\Icons\modforge.png">
43+
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
44+
</Resource>
45+
</ItemGroup>
46+
4947
</Project>
-1.74 KB
Binary file not shown.
-838 KB
Binary file not shown.

KCD2.ModForge.Wpf/wwwroot/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<base href="/" />
88
<link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" />
99
<link rel="stylesheet" href="css/app.css" />
10-
<link rel="stylesheet" href="css/custom.css" />
1110
<link rel="stylesheet" href="KCD2.ModForge.Wpf.styles.css" />
1211
<link rel="icon" href="data:,">
1312
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />

0 commit comments

Comments
 (0)