Skip to content

Commit 715163d

Browse files
jjroelofsJurriaan Roelofs
andauthored
Fix secondary header menu items stacking vertically (#794)
Bootstrap 5's .navbar-nav sets flex-direction: column by default, which overrides the float: left on list items. Add flex-direction: row to #secondary-header ul.menu so items display inline. Fixes #793 Co-authored-by: Jurriaan Roelofs <jur@dxpr.com>
1 parent 995d502 commit 715163d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

css/components/dxpr-theme-secondary-header.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/components/dxpr-theme-secondary-header.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
}
2929

3030
ul.menu {
31+
flex-direction: row;
3132
float:right;
3233
margin-bottom: 0;
3334
margin-top: 0;

0 commit comments

Comments
 (0)