forked from hazza/dspace-angular
[DURACOM-180] Prevent header from covering media viewer controls (base theme)
(cherry picked from commit c042cd8d11
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
5f46b638e4
commit
c6ade09e4a
@@ -1,4 +1,4 @@
|
||||
<div [ngClass]="{'open': !(isNavBarCollapsed | async)}">
|
||||
<div [ngClass]="{'open': !(isNavBarCollapsed | async)}" id="header-navbar-wrapper">
|
||||
<ds-themed-header></ds-themed-header>
|
||||
<ds-themed-navbar></ds-themed-navbar>
|
||||
</div>
|
||||
|
@@ -1,4 +1,6 @@
|
||||
:host {
|
||||
position: relative;
|
||||
z-index: var(--ds-nav-z-index);
|
||||
div#header-navbar-wrapper {
|
||||
border-bottom: 1px var(--ds-header-navbar-border-bottom-color) solid;
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,5 @@
|
||||
nav.navbar {
|
||||
background-color: var(--ds-navbar-bg);
|
||||
border-bottom: 1px var(--ds-header-navbar-border-bottom-color) solid;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
@@ -12,9 +11,11 @@ nav.navbar {
|
||||
position: absolute;
|
||||
overflow: hidden;
|
||||
height: 0;
|
||||
z-index: var(--ds-nav-z-index);
|
||||
&.open {
|
||||
height: auto;
|
||||
min-height: 100vh; //doesn't matter because wrapper is sticky
|
||||
border-bottom: 1px var(--ds-header-navbar-border-bottom-color) solid; // open navbar covers header-navbar-wrapper border
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user