mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-05-23 21:51:33 +00:00
📝 Docs: 修复移动端侧边栏折叠状态异常 (#3414)
This commit is contained in:
parent
dd0525eaee
commit
1f8670160a
@ -6,6 +6,7 @@ import { useVersionedSidebar } from "@nullbot/docusaurus-plugin-getsidebar/clien
|
|||||||
import { SidebarContentFiller } from "@nullbot/docusaurus-theme-nonepress/contexts";
|
import { SidebarContentFiller } from "@nullbot/docusaurus-theme-nonepress/contexts";
|
||||||
|
|
||||||
import BackToTopButton from "@theme/BackToTopButton";
|
import BackToTopButton from "@theme/BackToTopButton";
|
||||||
|
import Heading from "@theme/Heading";
|
||||||
import Layout from "@theme/Layout";
|
import Layout from "@theme/Layout";
|
||||||
import Page from "@theme/Page";
|
import Page from "@theme/Page";
|
||||||
|
|
||||||
@ -28,7 +29,9 @@ function StorePage({ title, children }: Props): React.ReactNode {
|
|||||||
<Page hideTableOfContents reduceContentWidth={false} sidebarId={SIDEBAR_ID}>
|
<Page hideTableOfContents reduceContentWidth={false} sidebarId={SIDEBAR_ID}>
|
||||||
<SidebarContentFiller items={sidebarItems} />
|
<SidebarContentFiller items={sidebarItems} />
|
||||||
<article className="prose max-w-full">
|
<article className="prose max-w-full">
|
||||||
<h1 className="store-title">{title}</h1>
|
<Heading as="h1" className="store-title">
|
||||||
|
{title}
|
||||||
|
</Heading>
|
||||||
{children}
|
{children}
|
||||||
</article>
|
</article>
|
||||||
</Page>
|
</Page>
|
||||||
|
@ -74,7 +74,7 @@ function ToolbarFilter({
|
|||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
>
|
>
|
||||||
<FontAwesomeIcon icon={icon} />
|
<FontAwesomeIcon icon={icon} />
|
||||||
{label}
|
<span className="hidden sm:block">{label}</span>
|
||||||
</label>
|
</label>
|
||||||
<div className="dropdown-content store-toolbar-dropdown">
|
<div className="dropdown-content store-toolbar-dropdown">
|
||||||
<input
|
<input
|
||||||
|
Loading…
x
Reference in New Issue
Block a user