@apify/docs-theme 1.0.263 → 1.0.265

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/docs-theme",
3
- "version": "1.0.263",
3
+ "version": "1.0.265",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "files": [
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@apify/docs-search-modal": "^1.4.0",
23
23
  "@apify/ui-icons": "^1.19.0",
24
- "@apify/ui-library": "^1.151.0",
24
+ "@apify/ui-library": "^1.156.1",
25
25
  "@docusaurus/theme-common": "^3.7.0",
26
26
  "@stackql/docusaurus-plugin-hubspot": "^1.1.0",
27
27
  "algoliasearch": "^5.19.0",
@@ -23,9 +23,9 @@ function NavbarItems({ items }) {
23
23
  );
24
24
  }
25
25
 
26
- function NavbarContentLayout({ left, center, right }) {
26
+ function NavbarContentLayout({ left, center, right, className }) {
27
27
  return (
28
- <div className="navbar__inner">
28
+ <div className={`navbar__inner ${className ?? ''}`}>
29
29
  <div className="navbar__container">
30
30
  <div className="navbar__items">{left}</div>
31
31
  <div className="navbar__items navbar__items--center">{center}</div>
@@ -115,6 +115,7 @@ export default function NavbarContent() {
115
115
  }
116
116
  />
117
117
  <NavbarContentLayout
118
+ className="navbar__inner--subnavbar"
118
119
  left={
119
120
  <>
120
121
  <NavbarItems items={leftItems} />
@@ -389,6 +389,13 @@ footer .col {
389
389
  background: var(--color-Neutral_Background);
390
390
  }
391
391
 
392
+ @media (max-width: 996px) {
393
+ /* Nav links move into a dropdown on mobile. */
394
+ .navbar__inner--subnavbar {
395
+ display: none;
396
+ }
397
+ }
398
+
392
399
  .navbar__sub {
393
400
  padding: 0.8rem var(--ifm-spacing-horizontal);
394
401
  height: 58px;