Skip to content

Commit

Permalink
Fix a styling issue with docs titles (#1962)
Browse files Browse the repository at this point in the history
  • Loading branch information
BinarySoftware authored and iamrecursion committed Aug 19, 2021
1 parent 201a6f9 commit 8c80660
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ final case class Doc(
def htmlWithTitle(title: String): Doc.HTML = {
if (title != "") {
Seq(
HTML.div(HTML.`class` := "doc-title-container")(
HTML.div(HTML.`class` := "doc-title-name")(title),
tags.html
HTML.div(
HTML.div(HTML.`class` := "doc-title-container")(
HTML.div(HTML.`class` := "doc-title-name")(title),
tags.html
)
)(synopsis.html)(body.html)
)
} else {
Expand Down

0 comments on commit 8c80660

Please sign in to comment.