mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
[CST-7119] Fixes
This commit is contained in:
@@ -6,13 +6,14 @@ nav.navbar {
|
|||||||
/** Mobile menu styling **/
|
/** Mobile menu styling **/
|
||||||
@media screen and (max-width: map-get($grid-breakpoints, md)-0.02) {
|
@media screen and (max-width: map-get($grid-breakpoints, md)-0.02) {
|
||||||
.navbar {
|
.navbar {
|
||||||
width: 100vw;
|
width: 100%;
|
||||||
background-color: var(--bs-white);
|
background-color: var(--bs-white);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 0;
|
height: 0;
|
||||||
&.open {
|
&.open {
|
||||||
height: 100vh; //doesn't matter because wrapper is sticky
|
height: auto;
|
||||||
|
min-height: 100vh; //doesn't matter because wrapper is sticky
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -12,7 +12,7 @@ export const slide = trigger('slide', [
|
|||||||
|
|
||||||
export const slideMobileNav = trigger('slideMobileNav', [
|
export const slideMobileNav = trigger('slideMobileNav', [
|
||||||
|
|
||||||
state('expanded', style({ height: '100vh' })),
|
state('expanded', style({ height: 'auto', 'min-height': '100vh' })),
|
||||||
|
|
||||||
state('collapsed', style({ height: 0 })),
|
state('collapsed', style({ height: 0 })),
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user