From 979de5350fc3b94d4c7c501f77904d5bfd55358a Mon Sep 17 00:00:00 2001 From: Peach Date: Fri, 18 Nov 2022 13:11:31 +0800 Subject: [PATCH] docs: correct search bar space in header (#38668) --- .dumi/theme/slots/Header/index.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.dumi/theme/slots/Header/index.tsx b/.dumi/theme/slots/Header/index.tsx index 9d2100e123..cce7bf6397 100644 --- a/.dumi/theme/slots/Header/index.tsx +++ b/.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 = (props) => { - +
+ +
{!isMobile && menu}