-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DURACOM-180] Prevent header from covering media viewer controls
- Loading branch information
1 parent
867513d
commit 94c9865
Showing
4 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/themes/dspace/app/header-nav-wrapper/header-navbar-wrapper.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<div [ngClass]="{'open': !(isNavBarCollapsed | async)}"> | ||
<div [class.open]="!(isNavBarCollapsed | async)" id="header-navbar-wrapper"> | ||
<ds-themed-header></ds-themed-header> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
:host { | ||
// The header-navbar-wrapper should not have a z-index, otherwise it would cover the media viewer despite its higher z-index | ||
position: relative; | ||
div#header-navbar-wrapper { | ||
border-bottom: 5px var(--ds-header-navbar-border-bottom-color) solid; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters