Dart backend update and upgrade, visual overhaul, additionally some Ñyqy updates that were meant for master branch #1

Merged
phundrak merged 38 commits from develop into master 2020-05-05 11:44:27 +00:00
Showing only changes of commit 41d368e09c - Show all commits

View File

@ -195,7 +195,7 @@ Future<void> reorganizeHtml() async {
content.insertAdjacentElement('beforeBegin', header); content.insertAdjacentElement('beforeBegin', header);
final subtitle = querySelector('.subtitle'); final subtitle = querySelector('.subtitle');
if (subtitle != null) { if (subtitle != null) {
querySelector('header').append(subtitle); header.append(subtitle);
} }
}); });
@ -205,4 +205,7 @@ Future<void> reorganizeHtml() async {
// Add correct class to TOC // Add correct class to TOC
querySelector('#toc-drop') querySelector('#toc-drop')
.append(querySelector('#table-of-contents')..classes.add('dropdown')); .append(querySelector('#table-of-contents')..classes.add('dropdown'));
// Remove all <br> tags from HTML
querySelectorAll('br').forEach((br) => br.remove());
} }