diff --git a/src/Core/Components/Menu/FluentMenuProvider.razor.cs b/src/Core/Components/Menu/FluentMenuProvider.razor.cs index 471e16918e..f0ff8cc4d2 100644 --- a/src/Core/Components/Menu/FluentMenuProvider.razor.cs +++ b/src/Core/Components/Menu/FluentMenuProvider.razor.cs @@ -25,7 +25,7 @@ public FluentMenuProvider() /// internal string? StyleValue => new StyleBuilder(Style) - .AddStyle("display", "fixed") // To prevent the menu from displaying a scrollbar in body + .AddStyle("position", "fixed") // To prevent the menu from displaying a scrollbar in body .AddStyle("z-index", ZIndex.Menu.ToString()) .Build(); diff --git a/src/Core/Components/Stack/FluentStack.razor.cs b/src/Core/Components/Stack/FluentStack.razor.cs index 1d553e80ee..0ebe9bfee3 100644 --- a/src/Core/Components/Stack/FluentStack.razor.cs +++ b/src/Core/Components/Stack/FluentStack.razor.cs @@ -26,18 +26,21 @@ public partial class FluentStack : FluentComponentBase /// /// Gets or sets the horizontal alignment of the components in the stack. + /// Default is /// [Parameter] public HorizontalAlignment HorizontalAlignment { get; set; } = HorizontalAlignment.Left; /// /// Gets or sets the vertical alignment of the components in the stack. + /// Default is /// [Parameter] public VerticalAlignment VerticalAlignment { get; set; } = VerticalAlignment.Top; /// /// Gets or sets the orientation of the stacked components. + /// Default is . /// [Parameter] public Orientation Orientation { get; set; } = Orientation.Horizontal; diff --git a/src/Core/Components/Tooltip/FluentTooltipProvider.razor.cs b/src/Core/Components/Tooltip/FluentTooltipProvider.razor.cs index f6e00b0e93..13b3e970ec 100644 --- a/src/Core/Components/Tooltip/FluentTooltipProvider.razor.cs +++ b/src/Core/Components/Tooltip/FluentTooltipProvider.razor.cs @@ -13,7 +13,8 @@ protected string? ClassValue /// internal string? StyleValue => new StyleBuilder(Style) - .AddStyle("display", "fixed") // To prevent the tooltip from displaying a scrollbar in body + .AddStyle("position", "fixed") // To prevent the tooltip from displaying a scrollbar in body + .AddStyle("z-index", ZIndex.Menu.ToString()) .Build(); [Inject]