mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +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;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-search-wrapper {
|
||||||
|
flex: auto;
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
.dumi-default-search-bar {
|
.dumi-default-search-bar {
|
||||||
border-inline-start: 1px solid rgba(0, 0, 0, 0.06);
|
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} />
|
<Logo {...sharedProps} location={location} />
|
||||||
</Col>
|
</Col>
|
||||||
<Col {...colProps[1]} css={style.menuRow}>
|
<Col {...colProps[1]} css={style.menuRow}>
|
||||||
<DumiSearchBar />
|
<div className="nav-search-wrapper">
|
||||||
|
<DumiSearchBar />
|
||||||
|
</div>
|
||||||
{!isMobile && menu}
|
{!isMobile && menu}
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
|
Loading…
Reference in New Issue
Block a user