mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 01:13:58 +08:00
docs: correct search bar space in header (#38668)
This commit is contained in:
parent
73139eb5af
commit
979de5350f
@ -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…
Reference in New Issue
Block a user