mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-05-23 13:41:56 +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 BackToTopButton from "@theme/BackToTopButton";
|
||||
import Heading from "@theme/Heading";
|
||||
import Layout from "@theme/Layout";
|
||||
import Page from "@theme/Page";
|
||||
|
||||
@ -28,7 +29,9 @@ function StorePage({ title, children }: Props): React.ReactNode {
|
||||
<Page hideTableOfContents reduceContentWidth={false} sidebarId={SIDEBAR_ID}>
|
||||
<SidebarContentFiller items={sidebarItems} />
|
||||
<article className="prose max-w-full">
|
||||
<h1 className="store-title">{title}</h1>
|
||||
<Heading as="h1" className="store-title">
|
||||
{title}
|
||||
</Heading>
|
||||
{children}
|
||||
</article>
|
||||
</Page>
|
||||
|
@ -74,7 +74,7 @@ function ToolbarFilter({
|
||||
tabIndex={0}
|
||||
>
|
||||
<FontAwesomeIcon icon={icon} />
|
||||
{label}
|
||||
<span className="hidden sm:block">{label}</span>
|
||||
</label>
|
||||
<div className="dropdown-content store-toolbar-dropdown">
|
||||
<input
|
||||
|
Loading…
x
Reference in New Issue
Block a user