From f65e7161309575db44fa8ff2bc8e8f5cbdd5cc4d Mon Sep 17 00:00:00 2001 From: Michiel De Mey Date: Fri, 21 Jan 2022 14:05:27 +0100 Subject: [PATCH 1/2] Fixed header style in right sidebar for light mode --- packages/docusaurus-theme-redoc/src/theme/Redoc/styles.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/docusaurus-theme-redoc/src/theme/Redoc/styles.css b/packages/docusaurus-theme-redoc/src/theme/Redoc/styles.css index ef1a492d..447dada4 100644 --- a/packages/docusaurus-theme-redoc/src/theme/Redoc/styles.css +++ b/packages/docusaurus-theme-redoc/src/theme/Redoc/styles.css @@ -60,7 +60,9 @@ html[data-theme='dark'] .redocusaurus h2 > a:nth-child(1)::before { /** Fixes https://github.com/rohit-gohri/redocusaurus/issues/65 */ html:not([data-theme='dark']) .redocusaurus - div[id^='operation'] + .redoc-wrap + .api-content + > div > div:nth-child(1) > div:nth-child(2) h3 { From 0c0d40f361d0ea1703a37ce4de43a5e54e7126b5 Mon Sep 17 00:00:00 2001 From: Michiel De Mey Date: Fri, 21 Jan 2022 14:07:51 +0100 Subject: [PATCH 2/2] docs(changeset): Fixed header style in right sidebar for light mode --- .changeset/warm-eggs-decide.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/warm-eggs-decide.md diff --git a/.changeset/warm-eggs-decide.md b/.changeset/warm-eggs-decide.md new file mode 100644 index 00000000..863828c5 --- /dev/null +++ b/.changeset/warm-eggs-decide.md @@ -0,0 +1,5 @@ +--- +'docusaurus-theme-redoc': patch +--- + +Fixed header style in right sidebar for light mode