diff --git a/client/homebrew/editor/snippetbar/snippets/snippets.js b/client/homebrew/editor/snippetbar/snippets/snippets.js index e61289b6b..2ac8c7ea0 100644 --- a/client/homebrew/editor/snippetbar/snippets/snippets.js +++ b/client/homebrew/editor/snippetbar/snippets/snippets.js @@ -73,12 +73,12 @@ module.exports = [ { name : 'Page Number', icon : 'fas fa-bookmark', - gen : '{{pageNumber\n1\n}}\n{{footnote\nPART 1 | FANCINESS\n}}\n\n' + gen : '{{pageNumber 1}}\n{{footnote PART 1 | SECTION NAME}}\n\n' }, { name : 'Auto-incrementing Page Number', icon : 'fas fa-sort-numeric-down', - gen : '{{pageNumber,auto\n}}\n\n' + gen : '{{pageNumber,auto}}\n{{footnote PART 1 | SECTION NAME}}\n\n' }, { name : 'Link to page', diff --git a/themes/5ePhb.style.less b/themes/5ePhb.style.less index ac8fff139..a5a3b6aa5 100644 --- a/themes/5ePhb.style.less +++ b/themes/5ePhb.style.less @@ -385,13 +385,14 @@ body { } } .pageNumber{ - position : absolute; - right : 2px; - bottom : 22px; - width : 50px; - font-size : 0.9em; - color : #c9ad6a; - text-align : center; + position : absolute; + right : 2px; + bottom : 22px; + width : 50px; + font-size : 0.9em; + color : #c9ad6a; + text-align : center; + text-indent : 0; &.auto::after { content : counter(phb-page-numbers); } @@ -605,6 +606,7 @@ body { .inline-block { display : inline-block; text-indent : initial; + line-height : 1.3em; } div { column-gap : 0.5cm; //Default spacing if a div uses multicolumns