Skip to content

Commit

Permalink
fix(classes): Keep vertical box out of horizontal tags
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Mar 14, 2024
1 parent bc137db commit b457a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cabook-commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ function package:registerCommands ()
self:registerCommand("tableofcontents:header", function (options, _)
options.rule = SU.boolean(options.rule, true)
SILE.call("center", {}, function ()
SILE.call("skip", { height = "12ex" })
SILE.call("hbox", {}, function ()
SILE.call("skip", { height = "12ex" })
SILE.call("tableofcontents:headerfont", { height = "12ex" }, function ()
SILE.call("fluent", {}, { "tableofcontents-title "})
end)
Expand Down

0 comments on commit b457a2d

Please sign in to comment.