mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 22:43:03 +00:00
Merge pull request #1861 from the-library-code/PRs/FixedHeader768px
Workaround missing navbar @768px for dspace and custom templates
This commit is contained in:
@@ -4,7 +4,7 @@ nav.navbar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Mobile menu styling **/
|
/** Mobile menu styling **/
|
||||||
@media screen and (max-width: map-get($grid-breakpoints, md)) {
|
@media screen and (max-width: map-get($grid-breakpoints, md)-0.02) {
|
||||||
.navbar {
|
.navbar {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
background-color: var(--bs-white);
|
background-color: var(--bs-white);
|
||||||
@@ -26,7 +26,7 @@ nav.navbar {
|
|||||||
|
|
||||||
/* TODO remove when https://github.com/twbs/bootstrap/issues/24726 is fixed */
|
/* TODO remove when https://github.com/twbs/bootstrap/issues/24726 is fixed */
|
||||||
.navbar-expand-md.navbar-container {
|
.navbar-expand-md.navbar-container {
|
||||||
@media screen and (max-width: map-get($grid-breakpoints, md)) {
|
@media screen and (max-width: map-get($grid-breakpoints, md)-0.02) {
|
||||||
> .container {
|
> .container {
|
||||||
padding: 0 var(--bs-spacer);
|
padding: 0 var(--bs-spacer);
|
||||||
}
|
}
|
||||||
|
@@ -6,7 +6,7 @@ nav.navbar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Mobile menu styling **/
|
/** Mobile menu styling **/
|
||||||
@media screen and (max-width: map-get($grid-breakpoints, md)) {
|
@media screen and (max-width: map-get($grid-breakpoints, md)-0.02) {
|
||||||
.navbar {
|
.navbar {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: var(--bs-white);
|
background-color: var(--bs-white);
|
||||||
@@ -28,7 +28,7 @@ nav.navbar {
|
|||||||
|
|
||||||
/* TODO remove when https://github.com/twbs/bootstrap/issues/24726 is fixed */
|
/* TODO remove when https://github.com/twbs/bootstrap/issues/24726 is fixed */
|
||||||
.navbar-expand-md.navbar-container {
|
.navbar-expand-md.navbar-container {
|
||||||
@media screen and (max-width: map-get($grid-breakpoints, md)) {
|
@media screen and (max-width: map-get($grid-breakpoints, md)-0.02) {
|
||||||
> .container {
|
> .container {
|
||||||
padding: 0 var(--bs-spacer);
|
padding: 0 var(--bs-spacer);
|
||||||
a.navbar-brand {
|
a.navbar-brand {
|
||||||
|
Reference in New Issue
Block a user