Skip to content

Commit a9e37f5

Browse files
TheElectronWillromanowski
authored andcommitted
Put paneSearch back and hide it
If #paneSearch is missing dokka's ReactJS crashes and doesn't generate the search button.
1 parent 917c535 commit a9e37f5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scala3doc/resources/dotty_res/styles/scalastyle.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ th {
126126
height: 100%;
127127
font-size: var(--leftbar-font-size);
128128
}
129+
#paneSearch {
130+
display: none;
131+
}
129132
#logo {
130133
background-size: contain;
131134
background-repeat: no-repeat;

scala3doc/src/dotty/renderers/ScalaHtmlRenderer.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ class ScalaHtmlRenderer(ctx: DokkaContext) extends SiteRenderer(ctx) {
233233
div(id := "container")(
234234
div(id := "leftColumn")(
235235
div(id := "logo"),
236+
div(id := "paneSearch"),
236237
nav(id := "sideMenu"),
237238
),
238239
div(id := "main")(

0 commit comments

Comments
 (0)