From f2095d040d16739ef588102eb1391406b2004a37 Mon Sep 17 00:00:00 2001 From: Lucas Rosa Date: Thu, 1 Feb 2024 22:05:05 -0300 Subject: [PATCH] update classnames defs --- .../src/theme/ApiTabs/_ApiTabs.scss | 4 ---- .../src/theme/OperationTabs/_OperationTabs.scss | 4 ++++ packages/docusaurus-theme-openapi-docs/src/theme/styles.scss | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/docusaurus-theme-openapi-docs/src/theme/ApiTabs/_ApiTabs.scss b/packages/docusaurus-theme-openapi-docs/src/theme/ApiTabs/_ApiTabs.scss index a20422ccc..52564f970 100644 --- a/packages/docusaurus-theme-openapi-docs/src/theme/ApiTabs/_ApiTabs.scss +++ b/packages/docusaurus-theme-openapi-docs/src/theme/ApiTabs/_ApiTabs.scss @@ -9,10 +9,6 @@ margin-bottom: var(--ifm-leading); } -.openapi-tabs__response-header { - margin-bottom: 0; -} - .openapi-tabs__response-code-item { border: 1px solid transparent; margin-top: 0 !important; diff --git a/packages/docusaurus-theme-openapi-docs/src/theme/OperationTabs/_OperationTabs.scss b/packages/docusaurus-theme-openapi-docs/src/theme/OperationTabs/_OperationTabs.scss index 9e955de85..848430791 100644 --- a/packages/docusaurus-theme-openapi-docs/src/theme/OperationTabs/_OperationTabs.scss +++ b/packages/docusaurus-theme-openapi-docs/src/theme/OperationTabs/_OperationTabs.scss @@ -12,6 +12,10 @@ overflow: hidden; } +.openapi-tabs__operation-header { + margin-bottom: 0; +} + .openapi-tabs__operation-item { display: flex; align-items: center; diff --git a/packages/docusaurus-theme-openapi-docs/src/theme/styles.scss b/packages/docusaurus-theme-openapi-docs/src/theme/styles.scss index d94860272..95de0d3c7 100644 --- a/packages/docusaurus-theme-openapi-docs/src/theme/styles.scss +++ b/packages/docusaurus-theme-openapi-docs/src/theme/styles.scss @@ -159,3 +159,7 @@ .openapi-left-panel__container { border-right: thin solid var(--ifm-toc-border-color); } + +.openapi-tabs__heading { + margin-bottom: 0; +}