From d038a7495d3b338fccdb2cb64b808c75baceaae1 Mon Sep 17 00:00:00 2001 From: Brian Rourke Boll Date: Wed, 5 Jun 2024 07:35:36 -0400 Subject: [PATCH] Minimize changes to HTML --- docs/content/fsdocs-default.css | 2 +- src/FSharp.Formatting.ApiDocs/GenerateHtml.fs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/content/fsdocs-default.css b/docs/content/fsdocs-default.css index 210117eb..c133ae4e 100644 --- a/docs/content/fsdocs-default.css +++ b/docs/content/fsdocs-default.css @@ -1000,7 +1000,7 @@ span[onmouseout] { margin-top: 0; } -.fsdocs-description-heading { +.fsdocs-member-list-header { display: flex; flex-direction: row; justify-content: space-between; diff --git a/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs b/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs index 34c5d5e6..48fd4e38 100644 --- a/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs +++ b/src/FSharp.Formatting.ApiDocs/GenerateHtml.fs @@ -109,9 +109,7 @@ type HtmlRender(model: ApiDocModel, ?menuTemplateFolder: string) = thead [] [ tr [] [ td [ Class "fsdocs-member-list-header" ] [ !!tableHeader ] - td [ Class "fsdocs-member-list-header" ] [ - div [ Class "fsdocs-description-heading" ] [ !! "Description"; fsdocsDetailsToggle [] ] - ] + td [ Class "fsdocs-member-list-header" ] [ !! "Description"; fsdocsDetailsToggle [] ] ] ] tbody [] [