Skip to content

Commit e3ac6a2

Browse files
committed
fix(drawer): updated drawer
1 parent 7f4ab5f commit e3ac6a2

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

src/app/core/components/topnav/topnav.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<section class="nav-container flex align-items-center justify-content-between">
2-
<img ngSrc="assets/images/logo.svg" alt="OSF Logo" height="36" width="106" priority />
2+
<img class="logo-img" ngSrc="assets/images/logo.svg" alt="OSF Logo" height="36" width="106" priority />
33

44
<p-drawer
5-
[modal]="true"
5+
[closable]="false"
66
[visible]="isDrawerVisible()"
7+
[motionOptions]="{ duration: 100 }"
78
(visibleChange)="isDrawerVisible.set($event)"
8-
[closable]="false"
99
>
1010
<osf-nav-menu (closeMenu)="toggleMenuVisibility()" />
1111
</p-drawer>

src/app/core/components/topnav/topnav.component.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@
99
padding: mix.rem(28px) mix.rem(24px);
1010
color: var(--white);
1111

12+
.logo-img {
13+
z-index: 1105;
14+
}
15+
1216
.topnav-btn {
1317
height: mix.rem(36px);
1418
width: mix.rem(36px);
1519

1620
--p-button-contrast-background: transparent;
1721
--p-button-contrast-border-color: transparent;
22+
z-index: 1105;
1823
}
1924
}

src/styles/overrides/drawer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.p-drawer.p-drawer-active.p-drawer-left {
1+
.p-drawer {
22
--p-drawer-background: var(--dark-blue-1);
33
--p-drawer-header-padding: 0;
44
--p-drawer-content-padding: 0;

0 commit comments

Comments
 (0)