Skip to content

Commit d22c6f3

Browse files
committed
DOC-13347 fix unreadable inline example
Our highlightjs style breaks redocly inline examples, so we ensure it is ignored. Q: should we instead disable highlightjs for these pages?
1 parent b5f8b38 commit d22c6f3

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/css/base.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ code {
7878
color: inherit;
7979
}
8080

81+
#redoc .hljs-comment,
82+
#redoc .hljs-meta {
83+
color: inherit;
84+
}
85+
8186
a code {
8287
color: var(--color-link);
8388
background-color: transparent;

src/css/doc.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,15 @@
114114
visibility: visible;
115115
}
116116

117+
.three-column-row h1:hover a.anchor,
118+
.three-column-row h2:hover a.anchor,
119+
.three-column-row h3:hover a.anchor,
120+
.three-column-row h4:hover a.anchor,
121+
.three-column-row h5:hover a.anchor,
122+
.three-column-row h6:hover a.anchor {
123+
visibility: hidden;
124+
}
125+
117126
.doc i.fa {
118127
font-style: normal;
119128
}

0 commit comments

Comments
 (0)