hyperbook 0.38.3 → 0.38.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@ var hyperbook = (function () {
2
2
  const collapsibles = document.getElementsByClassName("collapsible");
3
3
  const animationDelay = 100;
4
4
  const calcMaxHeight = (elem) => {
5
+ if (!elem) return;
5
6
  const content = elem.nextElementSibling;
6
7
  if (content) {
7
8
  if (elem.classList.contains("expanded")) {
@@ -569,7 +569,6 @@ nav li+li {
569
569
 
570
570
  .section {
571
571
  margin-top: 8px;
572
- margin-bottom: 8px;
573
572
  }
574
573
 
575
574
  .section>.name {