From 331ac0eb602025e9edd567ac281f2d5c4f30afc6 Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Tue, 13 Oct 2026 19:27:14 +0200 Subject: [PATCH] fix(styles): launchpad loads the library stylesheet itself main.js, public.js and admin.js never imported @conduction/nextcloud-vue/css/index.css. The board look, widget and dialog styles only arrived when another app's bundle on the page carried them, which is why the Flows toolbar centred its buttons. pipelinq, dossiq and shillinq import it the same way. --- src/admin.js | 3 +++ src/main.js | 3 +++ src/public.js | 3 +++ 3 files changed, 9 insertions(+) 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.