Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/pydata_sphinx_theme/assets/styles/sections/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
display: flex;
align-items: center;
height: fit-content;
padding-left: 1rem;
padding-right: 1rem;
padding: 0.5rem 1rem;
}

:focus-visible {
Expand All @@ -34,8 +33,6 @@

// These items will define the height of the header
.navbar-item {
height: var(--pst-header-height);
max-height: var(--pst-header-height);
display: flex;
align-items: center;
}
Expand All @@ -49,6 +46,8 @@
display: inherit;
flex-grow: 1;
padding: 0 0 0 0.5rem;
flex-wrap: wrap;
row-gap: 0.5rem;
}
}

Expand All @@ -57,7 +56,7 @@
.navbar-header-items__start {
display: flex;
align-items: center;
flex-flow: wrap;
flex-flow: nowrap;

// In case we wrap our items to multiple rows on small screens
row-gap: 0;
Expand All @@ -83,6 +82,7 @@
// Contains the navigation links within the navbar
.navbar-nav {
display: flex;
flex-wrap: wrap;

@include media-breakpoint-up($breakpoint-sidebar-primary) {
// Center align on wide screens so the dropdown button is centered properly
Expand Down