Skip to content

Commit 81b1ade

Browse files
committed
Set Drawer Breakpoint to None
1 parent 4c46e85 commit 81b1ade

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/TryMudBlazor.Client/Pages/Repl.razor

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</style>
1717

1818
<div class="try-layout">
19-
<MudDrawer Open="true" Fixed="false" Elevation="1" Variant="@DrawerVariant.Persistent" Class="try-drawer mud-drawer-mini">
19+
<MudDrawer Open="true" Fixed="false" Elevation="1" Breakpoint="Breakpoint.None" Variant="@DrawerVariant.Persistent" Class="try-drawer mud-drawer-mini">
2020
<MudTooltip Text="Run your code">
2121
<MudIconButton title="Run (Ctrl + S)" OnClick="@CompileAsync" Disabled="@Loading" Icon="@Icons.Material.Rounded.PlayArrow" Color="@(LayoutService.IsDarkMode ? Color.Success : Color.Inherit)" />
2222
</MudTooltip>
@@ -74,13 +74,12 @@
7474
{
7575
return Color.Error;
7676
}
77-
else if (WarningsCount != 0)
77+
78+
if (WarningsCount != 0)
7879
{
7980
return Color.Warning;
8081
}
81-
else
82-
{
83-
return Color.Inherit;
84-
}
82+
83+
return Color.Inherit;
8584
}
8685
}

0 commit comments

Comments
 (0)