mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[DURACOM-180] Prevent header from covering media viewer controls (base theme)
This commit is contained in:
@@ -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-header></ds-themed-header>
|
||||||
<ds-themed-navbar></ds-themed-navbar>
|
<ds-themed-navbar></ds-themed-navbar>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
:host {
|
:host {
|
||||||
position: relative;
|
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 {
|
nav.navbar {
|
||||||
background-color: var(--ds-navbar-bg);
|
background-color: var(--ds-navbar-bg);
|
||||||
border-bottom: 1px var(--ds-header-navbar-border-bottom-color) solid;
|
|
||||||
align-items: baseline;
|
align-items: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -12,9 +11,11 @@ nav.navbar {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 0;
|
height: 0;
|
||||||
|
z-index: var(--ds-nav-z-index);
|
||||||
&.open {
|
&.open {
|
||||||
height: auto;
|
height: auto;
|
||||||
min-height: 100vh; //doesn't matter because wrapper is sticky
|
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