mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-28 23:59:53 +02:00
give the navbar a fixed height so we can position other sticky elements more reliably
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 1030; // over everything in bootstrap
|
z-index: 1030; // over everything in bootstrap
|
||||||
|
height: 4rem;
|
||||||
// max-height: calc(100vh - 4rem);
|
// max-height: calc(100vh - 4rem);
|
||||||
// overflow-y: auto;
|
// overflow-y: auto;
|
||||||
// }
|
// }
|
||||||
|
Reference in New Issue
Block a user