mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-17 18:22:33 +00:00
Fix search result position
This commit is contained in:
parent
09f0f7ba3d
commit
bc89931452
@ -11,7 +11,7 @@
|
|||||||
<i class="fa fa-times-circle"></i>
|
<i class="fa fa-times-circle"></i>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="search-result-container">
|
<div class="search-result-container no-result">
|
||||||
<div class="search-result-icon">
|
<div class="search-result-icon">
|
||||||
<i class="fa fa-spinner fa-pulse fa-5x"></i>
|
<i class="fa fa-spinner fa-pulse fa-5x"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
2
layout/_third-party/math/mathjax.njk
vendored
2
layout/_third-party/math/mathjax.njk
vendored
@ -29,12 +29,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
(function () {
|
|
||||||
const script = document.createElement('script');
|
const script = document.createElement('script');
|
||||||
script.src = '{{ theme.vendors.mathjax }}';
|
script.src = '{{ theme.vendors.mathjax }}';
|
||||||
script.defer = true;
|
script.defer = true;
|
||||||
document.head.appendChild(script);
|
document.head.appendChild(script);
|
||||||
})();
|
|
||||||
} else {
|
} else {
|
||||||
MathJax.startup.document.state(0);
|
MathJax.startup.document.state(0);
|
||||||
MathJax.typesetClear();
|
MathJax.typesetClear();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user