Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Core/Components/Menu/FluentMenuProvider.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public FluentMenuProvider()

/// <summary />
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();

Expand Down
3 changes: 3 additions & 0 deletions src/Core/Components/Stack/FluentStack.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,21 @@ public partial class FluentStack : FluentComponentBase

/// <summary>
/// Gets or sets the horizontal alignment of the components in the stack.
/// Default is <see cref="HorizontalAlignment.Left"/>
/// </summary>
[Parameter]
public HorizontalAlignment HorizontalAlignment { get; set; } = HorizontalAlignment.Left;

/// <summary>
/// Gets or sets the vertical alignment of the components in the stack.
/// Default is <see cref="VerticalAlignment.Top"/>
/// </summary>
[Parameter]
public VerticalAlignment VerticalAlignment { get; set; } = VerticalAlignment.Top;

/// <summary>
/// Gets or sets the orientation of the stacked components.
/// Default is <see cref="Orientation.Horizontal"/>.
/// </summary>
[Parameter]
public Orientation Orientation { get; set; } = Orientation.Horizontal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ protected string? ClassValue

/// <summary />
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]
Expand Down