Browse Source

docs: correct search bar space in header (#38668)

pull/38619/head
Peach 2 years ago
committed by GitHub
parent
commit
979de5350f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .dumi/theme/slots/Header/index.tsx

9
.dumi/theme/slots/Header/index.tsx

@ -54,6 +54,11 @@ const useStyle = () => {
text-align: center;
}
.nav-search-wrapper {
flex: auto;
display: flex;
}
.dumi-default-search-bar {
border-inline-start: 1px solid rgba(0, 0, 0, 0.06);
@ -462,7 +467,9 @@ const Header: React.FC<HeaderProps> = (props) => {
<Logo {...sharedProps} location={location} />
</Col>
<Col {...colProps[1]} css={style.menuRow}>
<DumiSearchBar />
<div className="nav-search-wrapper">
<DumiSearchBar />
</div>
{!isMobile && menu}
</Col>
</Row>

Loading…
Cancel
Save