From c5d3776df73e1a27141d124a044cb6514d8159b3 Mon Sep 17 00:00:00 2001 From: Yura Bondarenko Date: Fri, 5 Aug 2022 12:23:03 +0200 Subject: [PATCH] 93492: Fix SSR dodging pinned admin sidebar On the server, @slideSidebarPadding always resolved to 'expanded' because slideSidebarOver did not emit true This resulted in the SSR HTML leaving space for the expanded sidebar. Also got rid of the sliding animation as it would always play, even when replacing SSR HTML where the sidebar was already visible. --- .../admin-sidebar.component.html | 2 +- .../admin-sidebar/admin-sidebar.component.ts | 25 +++++-------------- src/app/root/root.component.ts | 5 ++-- src/app/shared/animations/slide.ts | 7 ------ 4 files changed, 10 insertions(+), 29 deletions(-) diff --git a/src/app/admin/admin-sidebar/admin-sidebar.component.html b/src/app/admin/admin-sidebar/admin-sidebar.component.html index 84402c64e9..ef220b834b 100644 --- a/src/app/admin/admin-sidebar/admin-sidebar.component.html +++ b/src/app/admin/admin-sidebar/admin-sidebar.component.html @@ -1,4 +1,4 @@ -