File tree Expand file tree Collapse file tree
src/TryMudBlazor.Client/Pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
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}
You can’t perform that action at this time.
0 commit comments