diff --git a/src/Masa.Blazor/Components/Popover/MPopover.cs b/src/Masa.Blazor/Components/Popover/MPopover.cs deleted file mode 100644 index cba7908540..0000000000 --- a/src/Masa.Blazor/Components/Popover/MPopover.cs +++ /dev/null @@ -1,23 +0,0 @@ -namespace Masa.Blazor -{ - public partial class MPopover : BPopover - { - protected override void SetComponentClass() - { - CssProvider - .Apply(styleAction: styleBuilder => - { - styleBuilder - .Add(() => "z-index: 1000;") - .Add(() => $"top: {ClientY.ToUnit()}") - .Add(() => $"left: {ClientX.ToUnit()}") - .AddMinWidth(MinWidth) - .AddMaxHeight(MaxHeight) - .AddMaxWidth(MaxWidth) - .AddFirstIf( - ("display: none", () => !Visible) - ); - }); - } - } -}