File tree Expand file tree Collapse file tree
CodeBeam.MudBlazor.Extensions/Components/Splitter Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 }
3131
3232 .mud-splitter-content-@_styleGuid {
33- @($"height : {(!string.IsNullOrWhiteSpace(Height) ? Height : " 0px " )} !important; ")
33+ @($"height :{EffectiveHeight} ")
3434 }
3535 </style >
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ public partial class MudSplitter : MudComponentBase
3636 /// <summary>
3737 /// The height of splitter. For example: "400px"
3838 /// </summary>
39+ /// <remarks>The default is 100%</remarks>
3940 [ Parameter ]
4041 public string Height { get ; set ; }
4142
@@ -139,7 +140,7 @@ public partial class MudSplitter : MudComponentBase
139140
140141 string EffectiveStartStyle { get { return ! string . IsNullOrWhiteSpace ( StartContentStyle ) ? StartContentStyle : ! string . IsNullOrWhiteSpace ( ContentStyle ) ? ContentStyle : StyleContent ; } }
141142 string EffectiveEndStyle { get { return ! string . IsNullOrWhiteSpace ( EndContentStyle ) ? EndContentStyle : ! string . IsNullOrWhiteSpace ( ContentStyle ) ? ContentStyle : StyleContent ; } }
142- string EffectiveHeight { get { return $ "height:{ ( ! string . IsNullOrWhiteSpace ( Height ) ? Height : "0px" ) } !important;"; } }
143+ string EffectiveHeight { get { return $ "height:{ ( ! string . IsNullOrWhiteSpace ( Height ) ? Height : null ) } !important;"; } }
143144 string EffectiveBarStyle { get { return ! string . IsNullOrWhiteSpace ( BarStyle ) ? BarStyle : StyleBar ; } }
144145 string EffectiveColor { get { return $ "background-color:var(--mud-palette-{ ( Color == Color . Default ? "action-default" : Color . ToDescriptionString ( ) ) } ) !important;"; } }
145146
You can’t perform that action at this time.
0 commit comments