From 6b233fe9b42e43dca4f13d5ed0e620c1da17d149 Mon Sep 17 00:00:00 2001 From: Brooke Hatton Date: Sat, 12 Mar 2022 03:44:03 +0000 Subject: [PATCH] style(ApiSchema): Reduce whitespace on the ApiSchema component (#136) --- .changeset/few-cherries-reply.md | 5 +++++ .../docusaurus-theme-redoc/src/theme/ApiSchema/styles.css | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/few-cherries-reply.md diff --git a/.changeset/few-cherries-reply.md b/.changeset/few-cherries-reply.md new file mode 100644 index 00000000..50e65ad9 --- /dev/null +++ b/.changeset/few-cherries-reply.md @@ -0,0 +1,5 @@ +--- +'docusaurus-theme-redoc': patch +--- + +Reduce whitespace on the ApiSchema component diff --git a/packages/docusaurus-theme-redoc/src/theme/ApiSchema/styles.css b/packages/docusaurus-theme-redoc/src/theme/ApiSchema/styles.css index 257e75ab..f76dc8bb 100644 --- a/packages/docusaurus-theme-redoc/src/theme/ApiSchema/styles.css +++ b/packages/docusaurus-theme-redoc/src/theme/ApiSchema/styles.css @@ -4,3 +4,6 @@ .redocusaurus-schema.hide-example > div > div > div:nth-child(1) { width: 100%; } +.redocusaurus-schema > div:last-child { + min-height: 0; +}