From: Vincent Vanwaelscappel Date: Fri, 27 Jul 2018 13:05:14 +0000 (+0200) Subject: fix #2167 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=adf67046099c45fa5d002626f4e615f608343386;p=fluidbook-html5.git fix #2167 @0:10 --- diff --git a/js/libs/fluidbook/menu/fluidbook.chapters.js b/js/libs/fluidbook/menu/fluidbook.chapters.js index dc494f4b..4c9a939d 100644 --- a/js/libs/fluidbook/menu/fluidbook.chapters.js +++ b/js/libs/fluidbook/menu/fluidbook.chapters.js @@ -123,6 +123,9 @@ FluidbookChapters.prototype = { if (chapter.label == '--' || chapter.label == '++') { return ""; } + if (chapter.label == '----') { + return '
  • '; + } var color = chapter.color; if (color == '') { if (this.lastColor != undefined) { diff --git a/style/fluidbook.less b/style/fluidbook.less index b9663ec2..1924b7c3 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -1997,7 +1997,11 @@ ul.chapters { &[data-level="3"] + [data-level="2"] { margin-top: 5px; } + &.separator{ + height: 20px; + } } + a { font-size: 16px; display: block;