From f0177e56751baed83de64db38a6665931d8da1f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=96=C2=96AsTroLog?= Date: Thu, 19 Oct 2023 12:36:42 +0000 Subject: [PATCH] Add plus --- ShoppingAssistantWebClient.Web/Shared/NavMenu.razor | 6 +++--- ShoppingAssistantWebClient.Web/Shared/NavMenu.razor.css | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ShoppingAssistantWebClient.Web/Shared/NavMenu.razor b/ShoppingAssistantWebClient.Web/Shared/NavMenu.razor index 62d23a5..6442748 100644 --- a/ShoppingAssistantWebClient.Web/Shared/NavMenu.razor +++ b/ShoppingAssistantWebClient.Web/Shared/NavMenu.razor @@ -18,7 +18,8 @@
- Search + + Search + +
@@ -56,7 +57,6 @@ @code { private List wishlist {get; set;} protected async override Task OnInitializedAsync(){ - wishlist = new List() { new Models.Wishlist {Id = "0", Name = "Gift for Jessica", Type="product", CreateById="0"}, @@ -64,7 +64,7 @@ new Models.Wishlist {Id = "2", Name = "Mark’s Birthday", Type="product", CreateById="2"}, new Models.Wishlist {Id = "3", Name = "Garden tools", Type="product", CreateById="2"}, new Models.Wishlist {Id = "4", Name = "Phone charger ", Type="product", CreateById="2"}, - new Models.Wishlist {Id = "5", Name = "Garden tools", Type="product", CreateById="2"}, + new Models.Wishlist {Id = "5", Name = "Garden tools", Type="product", CreateById="2"}, }; } } diff --git a/ShoppingAssistantWebClient.Web/Shared/NavMenu.razor.css b/ShoppingAssistantWebClient.Web/Shared/NavMenu.razor.css index b520561..1d15efb 100644 --- a/ShoppingAssistantWebClient.Web/Shared/NavMenu.razor.css +++ b/ShoppingAssistantWebClient.Web/Shared/NavMenu.razor.css @@ -189,11 +189,20 @@ line-height: 2.5em; } .add_chat a { + justify-content: center; + align-items: center; border-radius: 0.6em; padding-left: 0.7em; text-decoration: none; color: #FFFFFF; } +.plus { + position: absolute; + right: 1em; + top: -0.1em; + font-size: 1.9em; +} + .user_name { padding-left: 0.4375em; font-size: 1em;