@apify/docs-theme 1.0.262 → 1.0.264
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
package/src/config.js
CHANGED
|
@@ -397,7 +397,7 @@ const scripts = [
|
|
|
397
397
|
src: 'https://widget.kapa.ai/kapa-widget.bundle.js',
|
|
398
398
|
'data-website-id': 'a9937f98-9c9d-44d9-a433-fec4cb1c114d',
|
|
399
399
|
'data-project-name': 'Apify',
|
|
400
|
-
'data-modal-title': 'Apify
|
|
400
|
+
'data-modal-title': 'Apify Docs Assistant',
|
|
401
401
|
'data-project-color': '#666666',
|
|
402
402
|
'data-button-hide': 'true',
|
|
403
403
|
'data-project-logo': 'https://apify.com/img/apify-logo/logomark-32x32.svg',
|
|
@@ -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=
|
|
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} />
|
package/src/theme/custom.css
CHANGED
|
@@ -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;
|