File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 99 style ="height: 60px; margin: 10px 0; background-color: white; padding: 5px; border-radius: 4px; "/>
1010 </ a >
1111 <!-- Move the navigation links here -->
12- < div class ="navbar-nav d-none d-sm-flex nav-horizontal ">
12+ < div class ="navbar-nav nav-horizontal ">
1313 < a class ="nav-item nav-link " href ="/projects.html "> Projects</ a >
1414 < a class ="nav-item nav-link " href ="/papers/ "> Papers</ a >
1515 < a class ="nav-item nav-link " href ="/grants/ "> Grants</ a >
Original file line number Diff line number Diff line change @@ -40,13 +40,29 @@ body {
4040.nav-horizontal {
4141 display : flex ;
4242 justify-content : flex-end ;
43- width : 100% ;
43+ width : auto ; /* Changed from 100% to auto */
44+ align-items : center ;
4445}
4546
4647.nav-horizontal .nav-item {
4748 margin-left : 15px ;
49+ width : auto !important ; /* Override any width settings */
4850}
4951
52+ /* Override any conflicting styles */
53+ .navbar-nav.nav-horizontal .nav-link {
54+ width : auto !important ;
55+ text-align : center ;
56+ white-space : nowrap ;
57+ }
58+
59+ /* Ensure flex-separate works correctly */
60+ .flex-separate {
61+ display : flex ;
62+ justify-content : space-between ;
63+ align-items : center ;
64+ }
65+
5066.brand-navbar {
5167// border-bottom: 6px solid #DFBD00;
5268 padding-top : 0.5rem ;
You can’t perform that action at this time.
0 commit comments