remove ui shift on reload

This commit is contained in:
yujonglee
2024-07-26 22:13:04 +09:00
parent 8a45abb563
commit 10ffb5a960
+12 -1
View File
@@ -43,7 +43,18 @@ export default function SearchBarWrapper(props) {
}}
>
{!loaded || !path ? (
<span style={{ fontSize: "2rem" }}>🐤</span>
<button
style={{
fontSize: "2rem",
backgroundColor: "transparent",
border: "none",
outline: "none",
padding: "0",
marginRight: "6px",
}}
>
🐤
</button>
) : (
<canary-root framework="docusaurus">
<canary-provider-pagefind