Merge pull request #4798 from mempool/simon/flex-justified-navbar

Flex justified navbar
This commit is contained in:
softsimon
2024-03-20 13:07:00 +09:00
committed by GitHub

View File

@@ -63,7 +63,7 @@ li.nav-item {
box-shadow: 0px 0px 15px 0px #000;
flex-direction: row;
left: 0;
justify-content: center;
justify-content: space-between;
position: fixed;
width: 100%;
@media (min-width: 992px) {
@@ -81,6 +81,11 @@ li.nav-item {
font-size: 1em;
}
}
li {
flex-grow: 1; /* Allows items to grow */
text-align: center; /* For text alignment */
}
}