🐛 Fixed red flag splitting across two lines (#79)

* Fix red flag splitting across two lines

Added white-space: nowrap to .flag_red and added new properties to link within toc to compensate for nowrap.

* Reverting back to original state.

* Revisited line wrap issue.

Co-authored-by: Tatiana Mac <github@tatianamac.com>
This commit is contained in:
Michael Spellacy (Spell)
2020-03-08 15:50:47 -04:00
committed by GitHub
parent e2f6cd68fc
commit 6050307a78
3 changed files with 8 additions and 2 deletions

View File

@ -14,7 +14,7 @@ module.exports = function(config) {
)}">${word}</a>`;
}
return word;
return `<span>${word}</span>`;
});
config.addFilter('linkSubTermIfDefined', (subTermData, collection) => {