mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
[DURACOM-195] fix issue with logo on small screens
(cherry picked from commit bff93a0847
)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<header id="main-site-header">
|
||||
<div class="container h-100 d-flex flex-row flex-nowrap justify-content-between gapx-3">
|
||||
<div class="container h-100 d-flex flex-row flex-wrap align-items-center justify-content-between gapx-3 gapy-2" id="main-site-header-container">
|
||||
<!-- Logo and navbar wrapper -->
|
||||
<div id="header-left"
|
||||
[attr.role]="(isMobile$ | async) ? 'navigation' : 'presentation'"
|
||||
@@ -13,7 +13,7 @@
|
||||
</nav>
|
||||
</div>
|
||||
<!-- Search bar and other menus -->
|
||||
<div id="header-right" class="h-100 d-flex flex-row flex-nowrap justify-content-end align-items-center gapx-1">
|
||||
<div id="header-right" class="h-100 d-flex flex-row flex-nowrap justify-content-end align-items-center gapx-1 ml-auto">
|
||||
<ds-themed-search-navbar></ds-themed-search-navbar>
|
||||
<div role="menubar" class="h-100 d-flex flex-row flex-nowrap align-items-center gapx-1">
|
||||
<ds-themed-lang-switch></ds-themed-lang-switch>
|
||||
|
@@ -1,7 +1,16 @@
|
||||
:host {
|
||||
#main-site-header {
|
||||
min-height: var(--ds-header-height);
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
height: var(--ds-header-height);
|
||||
}
|
||||
|
||||
background-color: var(--ds-header-bg);
|
||||
|
||||
&-container {
|
||||
min-height: var(--ds-header-height);
|
||||
}
|
||||
}
|
||||
|
||||
img#header-logo {
|
||||
|
Reference in New Issue
Block a user