feat: use floating-ui for better popover positioning

This commit is contained in:
Jacky Zhao committed 2022-07-13 15:01:50 -07:00
1 parent c1b8fe1221
commit ffe22689eb
3 files changed
+16 -7

No files matched your search

+3
View File
@@ -44,6 +44,9 @@
<script src="{{$darkMode.Permalink}}"></script>
{{partial "katex.html" .}}
<script src="https://unpkg.com/@floating-ui/core@0.7.3"></script>
<script src="https://unpkg.com/@floating-ui/dom@0.5.4"></script>
{{ $popover := resources.Get "js/popover.js" | resources.Fingerprint "md5" |
resources.Minify }}
<script src="{{$popover.Permalink}}"></script>