mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
* Attempt at fixing popouts? no idea if will work
* Try with no theme?
* Revert "Try with no theme?"
This reverts commit 7fb3a6c6a6.
* Try to remove triggers from theme
* Remove duplicate plugin
* Fix version issue
* Try to remove theme and use default theme
* Add back theme for later fixing
* Lint
---------
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
16 lines
337 B
JavaScript
16 lines
337 B
JavaScript
import FloatingVue from "floating-vue";
|
|
import "floating-vue/dist/style.css";
|
|
|
|
export default defineNuxtPlugin((nuxtApp) => {
|
|
nuxtApp.vueApp.use(FloatingVue, {
|
|
themes: {
|
|
"ribbit-popout": {
|
|
$extend: "dropdown",
|
|
placement: "bottom-end",
|
|
instantMove: true,
|
|
distance: 8,
|
|
},
|
|
},
|
|
});
|
|
});
|