From 146388d2c10084a8ea9b2abef75c4a335bc08997 Mon Sep 17 00:00:00 2001 From: Milton Mazzarri Date: Thu, 25 Jan 2024 22:10:50 -0600 Subject: [PATCH] fix nav layout --- .../formatter/epub/templates/nav_template.eex | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/ex_doc/formatter/epub/templates/nav_template.eex b/lib/ex_doc/formatter/epub/templates/nav_template.eex index cc1bfa691..4d041b22a 100644 --- a/lib/ex_doc/formatter/epub/templates/nav_template.eex +++ b/lib/ex_doc/formatter/epub/templates/nav_template.eex @@ -5,15 +5,11 @@ <%= nav_grouped_item_template config.extras %> <%= unless Enum.empty?(nodes.modules) do %> -
  • -
      -
    1. Modules -
        - <%= nav_grouped_item_template nodes.modules %> -
      -
    2. -
    -
  • +
  • Modules +
      + <%= nav_grouped_item_template nodes.modules %> +
    +
  • <% end %> <%= nav_item_template "Mix Tasks", nodes.tasks %>