From 19f29bfe482fb87181bcd880763c5bd00fa2c1e3 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Thu, 15 Sep 2022 14:01:35 +0300 Subject: [PATCH] docs: fixed design bug in API reference (#2213) --- www/docs/docusaurus.config.js | 5 +++++ www/docs/src/css/custom.css | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/www/docs/docusaurus.config.js b/www/docs/docusaurus.config.js index 4a7fb6934f..c30c050ba1 100644 --- a/www/docs/docusaurus.config.js +++ b/www/docs/docusaurus.config.js @@ -216,6 +216,11 @@ module.exports = { showObjectSchemaExamples: true, requiredPropsFirst: true, hideRequestPayloadSample: true + }, + theme: { + sidebar: { + width: '250px' + } } } }, diff --git a/www/docs/src/css/custom.css b/www/docs/src/css/custom.css index 36db20be68..a7b3ce4d41 100644 --- a/www/docs/src/css/custom.css +++ b/www/docs/src/css/custom.css @@ -581,10 +581,6 @@ html:not([data-theme="dark"]) .menu__list-item.topright-icon .menu__link.menu__l padding-bottom: 6px; } -.redocusaurus .menu-content { - width: var(--doc-sidebar-width); -} - .navbar-github-link { overflow: visible; } \ No newline at end of file