Skip to content

Commit 624b71f

Browse files
feat[frontend](federation): moved second header to fit federation sidebar
1 parent c37ff69 commit 624b71f

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

frontend/src/app/app.component.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@
100100

101101
.side-menu-federation {
102102
position: fixed;
103-
top: $navbar-secondary-height+$navbar-primary-height -10px;
103+
top: $navbar-primary-height;
104104
left: 0;
105105
bottom: 0;
106106
width: 60px;
107-
z-index: 999;
107+
z-index: 1031;
108108
background-color: $utm-header-color;
109109
border-right: 1px solid rgba(255, 255, 255, 0.08);
110110
}

frontend/src/app/shared/components/layout/header/header.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242

4343

4444
<!-- Alternative navbar -->
45-
<div class="navbar navbar-expand-md navbar-light utm-navbar-secondary p-0 utmstack-header-menu">
45+
<div *ngIf="(federationActive$ | async)"
46+
class="navbar navbar-expand-md navbar-light utm-navbar-secondary p-0 utmstack-header-menu utm-navbar-secondary--federation">
4647
<app-header-menu-navigation></app-header-menu-navigation>
4748
</div>
4849
<!-- /alternative navbar -->

frontend/src/app/shared/components/layout/header/header.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@
181181
overflow-scrolling: auto;
182182
}
183183

184+
.utm-navbar-secondary--federation {
185+
padding-left: 60px !important;
186+
}
187+
184188

185189
.dropdown-menu-right {
186190
z-index: 999;

0 commit comments

Comments
 (0)