📝 Docs: 修复移动端侧边栏折叠状态异常 (#3414)

This commit is contained in:
StarHeart 2025-03-29 12:04:05 +08:00 committed by GitHub
parent dd0525eaee
commit 1f8670160a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 389 additions and 380 deletions

View File

@ -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>

View File

@ -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

762
yarn.lock

File diff suppressed because it is too large Load Diff