From f040a0e9a97a21dd3695ce30a256fa9714609c4e Mon Sep 17 00:00:00 2001 From: Sergey Andrievskiy Date: Wed, 12 Jun 2019 14:09:27 +0300 Subject: [PATCH] fix(sidebar): prevent translation to the top when overlay opened --- .../theme/components/layout/_layout.component.theme.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/framework/theme/components/layout/_layout.component.theme.scss b/src/framework/theme/components/layout/_layout.component.theme.scss index 150cf8d4c3..04e9e7d20a 100644 --- a/src/framework/theme/components/layout/_layout.component.theme.scss +++ b/src/framework/theme/components/layout/_layout.component.theme.scss @@ -157,8 +157,11 @@ .layout-container { - nb-sidebar.fixed { - top: nb-theme(header-height); + nb-sidebar { + &.fixed, + .main-container-fixed { + top: nb-theme(header-height); + } } .content {