diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 72717cbb9d..c6b969749f 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -636,4 +636,15 @@ module.exports = { 'docusaurus-theme-openapi-docs', // Allows use of @theme/ApiItem and other components '@docusaurus/theme-mermaid', ], + scripts: [ + { + src: 'https://widget.kapa.ai/kapa-widget.bundle.js', + 'data-website-id': '1d187510-1726-4011-b0f7-62742ae064ee', + 'data-project-name': 'Unleash', + 'data-project-color': '#1A4049', + 'data-project-logo': + 'https://cdn.getunleash.io/uploads/2022/05/logo.png', + async: true, + }, + ], }; diff --git a/website/src/components/Figure/styles.module.css b/website/src/components/Figure/styles.module.css index 8079842656..514dafce5f 100644 --- a/website/src/components/Figure/styles.module.css +++ b/website/src/components/Figure/styles.module.css @@ -1,5 +1,5 @@ /* Figures (with captions) */ -figure { +.main-wrapper figure { box-shadow: var(--ifm-global-shadow-lw); border-radius: var(--ifm-global-radius); border: var(--ifm-global-border-width) solid var(--unleash-color-gray);