From 57c4eebab833111b4c38546aeb12ee83616dbe2c Mon Sep 17 00:00:00 2001 From: beyaz Date: Sun, 15 Sep 2024 11:16:21 +0300 Subject: [PATCH] . --- .../HeaderComponents/HeaderMenuBar.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ReactWithDotNet.WebSite/HeaderComponents/HeaderMenuBar.cs b/ReactWithDotNet.WebSite/HeaderComponents/HeaderMenuBar.cs index fd8db419..fbc4e7d6 100644 --- a/ReactWithDotNet.WebSite/HeaderComponents/HeaderMenuBar.cs +++ b/ReactWithDotNet.WebSite/HeaderComponents/HeaderMenuBar.cs @@ -94,8 +94,8 @@ protected override Element render() LetterSpacingNormal, BackgroundForPaper, - BorderWidth(1), - Hover(Background(Gray50), Border(1,solid,Gray100)), + Border(1,solid,transparent), + Hover(Background(Gray50), BorderColor(Gray100)), new FlexRow(AlignItemsCenter, Gap(20), BorderRadius) { @@ -123,7 +123,10 @@ protected override Element render() { return new Tooltip { - classes = { { "tooltip", [Background(Theme.common_background), Padding(0), BorderRadius] } }, + classes = + { + { "tooltip", [Background(Theme.common_background), Padding(0), BorderRadius] } + }, title = new FlexColumn(BorderRadius, Border(Solid(1, Theme.grey_200)), Width(400), BoxShadow(rgba(170, 180, 190, 0.3), 0, 4, 20)) { Model.Children.ToListOf(x => new MenuItemView { Model = x }) @@ -134,7 +137,8 @@ protected override Element render() { Text(Model.Title), Padding(10), - Hover(Background(Gray50), Border(1, solid, Gray200)), + Border(1,solid,transparent), + Hover(Background(Gray50), BorderColor(Gray200)), BorderRadius, FontSize14, FontWeight700,