diff --git a/src/SharpIDE.Photino/Components/CodeViewer.razor b/src/SharpIDE.Photino/Components/CodeViewer.razor
index 26f046d..8294d68 100644
--- a/src/SharpIDE.Photino/Components/CodeViewer.razor
+++ b/src/SharpIDE.Photino/Components/CodeViewer.razor
@@ -1,27 +1,26 @@
@using Ardalis.GuardClauses
@using SharpIDE.Application.Features.SolutionDiscovery
@using SharpIDE.Photino.Services
-@using BlazorMonaco
@using BlazorMonaco.Editor
-@using BlazorMonaco.Languages
@inject RefreshOpenFileService RefreshOpenFileService
-
- @_internalSelectedFile?.Name
- @if (_unsavedEdits)
- {
- *
- }
-
-
+
+
+ @_internalSelectedFile?.Name
+ @if (_unsavedEdits)
+ {
+ *
+ }
+
-
+
@code {
[Parameter, EditorRequired]
diff --git a/src/SharpIDE.Photino/Layout/MainLayout.razor b/src/SharpIDE.Photino/Layout/MainLayout.razor
index 89be2c5..bc4eaf8 100644
--- a/src/SharpIDE.Photino/Layout/MainLayout.razor
+++ b/src/SharpIDE.Photino/Layout/MainLayout.razor
@@ -42,34 +42,37 @@
-
+
-
+
-
-
-
- @if (_solutionFilePath is not null)
- {
-
- }
-
-
-
- @* @Body *@
+
+
+
+
+ @if (_solutionFilePath is not null)
+ {
+
+ }
+
+
+
@if (_solutionFilePath is not null)
{
}
-
-
-
-
+
+
+
+
+ Run
+
+
@* fake for StretchItems.Middle *@
@@ -94,6 +97,8 @@
private SharpIdeSolutionModel? _solutionModel;
private SharpIdeFile? _selectedFile;
+ private string MainContentHeight => _runDrawerOpen ? "70%" : "100%";
+
protected override async Task OnInitializedAsync()
{
await LoadSolutionFromInteractivePicker(AppState.IdeSettings.AutoOpenLastSolution);