0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-18 15:54:26 +01:00

give the navbar a fixed height so we can position other sticky elements more reliably

This commit is contained in:
Mark Otto 2017-05-27 17:36:20 -07:00
parent ca6c23161f
commit 4564f7e3ef

View File

@ -10,6 +10,7 @@
position: sticky;
top: 0;
z-index: 1030; // over everything in bootstrap
height: 4rem;
// max-height: calc(100vh - 4rem);
// overflow-y: auto;
// }