File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -37,30 +37,31 @@ body {
3737 background-color : rgba (230 ,230 ,230 ,0.95 );
3838}
3939
40+ /* These styles will force the links to be inline */
4041.nav-horizontal {
4142 display : flex ;
4243 justify-content : flex-end ;
43- width : auto ; /* Changed from 100% to auto */
44+ width : 100% ;
4445 align-items : center ;
4546}
4647
4748.nav-horizontal .nav-item {
49+ display : inline-flex ; /* Change to inline-flex */
4850 margin-left : 15px ;
49- width : auto !important ; /* Override any width settings */
51+ width : auto !important ;
5052}
5153
52- /* Override any conflicting styles */
53- .navbar-nav.nav-horizontal .nav-link {
54+ /* Make sure nav-links are also inline */
55+ .nav-horizontal .nav-item.nav-link {
56+ display : inline-flex ;
57+ align-items : center ;
5458 width : auto !important ;
55- text-align : center ;
56- white-space : nowrap ;
59+ padding : 0.5rem 1rem ;
5760}
5861
59- /* Ensure flex-separate works correctly */
60- .flex-separate {
61- display : flex ;
62- justify-content : space-between ;
63- align-items : center ;
62+ /* Override any Bootstrap default behaviors */
63+ .navbar-nav.nav-horizontal {
64+ flex-direction : row !important ;
6465}
6566
6667.brand-navbar {
You can’t perform that action at this time.
0 commit comments