Skip to content

Commit

Permalink
more options
Browse files Browse the repository at this point in the history
  • Loading branch information
hayden-MB committed Oct 23, 2024
1 parent 32c2442 commit ba979c7
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
48 changes: 48 additions & 0 deletions inst/resources/gitbook/css/plugin-fontsettings.css
Original file line number Diff line number Diff line change
Expand Up @@ -347,4 +347,52 @@ div.book.color-theme-2 {
line-height: 2.0;
}

.book.line-height-11 .book-body .page-inner section{
line-height: 2.1;
}

.book.line-height-12 .book-body .page-inner section{
line-height: 2.2;
}

.book.line-height-13 .book-body .page-inner section{
line-height: 2.3;
}

.book.line-height-14 .book-body .page-inner section{
line-height: 2.4;
}

.book.line-height-15 .book-body .page-inner section{
line-height: 2.5;
}

.book.line-height-16 .book-body .page-inner section{
line-height: 2.6;
}

.book.line-height-17 .book-body .page-inner section{
line-height: 2.7;
}

.book.line-height-17 .book-body .page-inner section{
line-height: 2.7;
}

.book.line-height-17 .book-body .page-inner section{
line-height: 2.7;
}

.book.line-height-18 .book-body .page-inner section{
line-height: 2.8;
}

.book.line-height-19 .book-body .page-inner section{
line-height: 2.9;
}
.book.line-height-20 .book-body .page-inner section{
line-height: 3.0;
}



2 changes: 1 addition & 1 deletion inst/resources/gitbook/js/plugin-fontsettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ gitbook.require(["gitbook", "lodash", "jQuery"], function(gitbook, _, $) {
// Increase line spacing
function increaseSpacing(e) {
e.preventDefault();
if (fontState.spacing >= 10) return;
if (fontState.spacing >= 20) return;

fontState.spacing++;
saveFontSettings();
Expand Down

0 comments on commit ba979c7

Please sign in to comment.