Skip to content

Commit c596463

Browse files
authored
Fixed header style in right sidebar for light mode (#112)
1 parent 62e30bb commit c596463

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/warm-eggs-decide.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'docusaurus-theme-redoc': patch
3+
---
4+
5+
Fixed header style in right sidebar for light mode

packages/docusaurus-theme-redoc/src/theme/Redoc/styles.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ html[data-theme='dark'] .redocusaurus h2 > a:nth-child(1)::before {
6060
/** Fixes https://github.com/rohit-gohri/redocusaurus/issues/65 */
6161
html:not([data-theme='dark'])
6262
.redocusaurus
63-
div[id^='operation']
63+
.redoc-wrap
64+
.api-content
65+
> div
6466
> div:nth-child(1)
6567
> div:nth-child(2)
6668
h3 {

0 commit comments

Comments
 (0)