diff --git a/src/admin.js b/src/admin.js index 3a1bbe87..454074cf 100644 --- a/src/admin.js +++ b/src/admin.js @@ -27,6 +27,9 @@ import { widgetBridge } from './services/widgetBridge.js' import { loadInitialState } from './utils/loadInitialState.js' import './publicPath.js' +// The library's own stylesheet (board look, widgets, dialogs). Without it +// the page only had the library CSS another app's bundle happened to load. +import '@conduction/nextcloud-vue/css/index.css' import './styles/modals.css' // Reference the imported singleton so its side-effecting construction is not diff --git a/src/main.js b/src/main.js index fd82a322..cfeeaf82 100644 --- a/src/main.js +++ b/src/main.js @@ -58,6 +58,9 @@ import { currentPermissions } from './utils/permissions.js' import './publicPath.js' import './services/widgetBridge.js' import 'gridstack/dist/gridstack.min.css' +// The library's own stylesheet (board look, widgets, dialogs). Without it +// the page only had the library CSS another app's bundle happened to load. +import '@conduction/nextcloud-vue/css/index.css' import './styles/workspace.css' import './styles/modals.css' registerBuiltinDashboardWidgets() diff --git a/src/public.js b/src/public.js index fb22f764..ac8c17ef 100644 --- a/src/public.js +++ b/src/public.js @@ -23,6 +23,9 @@ import DashboardPublicShareView from './views/DashboardPublicShareView.vue' import './publicPath.js' import 'gridstack/dist/gridstack.min.css' +// The library's own stylesheet (board look, widgets, dialogs). Without it +// the page only had the library CSS another app's bundle happened to load. +import '@conduction/nextcloud-vue/css/index.css' registerBuiltinDashboardWidgets() // The library's own strings (the greeting header among them) in the // viewer's language. See main.js.