diff --git a/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/index.tsx b/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/index.tsx
index cdb69965ec61..780579774851 100644
--- a/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/index.tsx
+++ b/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/index.tsx
@@ -24,7 +24,7 @@ function BreadcrumbsItemLink({
children: ReactNode;
href?: string;
}): JSX.Element {
- const className = clsx('breadcrumbs__link', styles.breadcrumbsItemLink);
+ const className = 'breadcrumbs__link';
return href ? (
{children}
@@ -98,7 +98,8 @@ export default function DocBreadcrumbs(): JSX.Element | null {
key={idx}
active={idx === breadcrumbs.length - 1}
index={idx}>
-
+
{item.label}
diff --git a/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/styles.module.css b/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/styles.module.css
index db445fbe1150..a400c5d9e622 100644
--- a/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/styles.module.css
+++ b/packages/docusaurus-theme-classic/src/theme/DocBreadcrumbs/styles.module.css
@@ -6,21 +6,6 @@
*/
.breadcrumbsContainer {
- margin-bottom: 0.4rem;
-}
-
-.breadcrumbsItemLink {
- --ifm-breadcrumb-size-multiplier: 0.7 !important;
- margin-bottom: 0.4rem;
- background: var(--ifm-color-gray-100);
-}
-
-html[data-theme='dark'] .breadcrumbsItemLink {
- background-color: var(--ifm-color-gray-900);
-}
-
-@media (min-width: 997px) {
- .breadcrumbsItemLink {
- --ifm-breadcrumb-size-multiplier: 0.8;
- }
+ --ifm-breadcrumb-size-multiplier: 0.8;
+ margin-bottom: 0.8rem;
}