From 39c804f460d66ecbba2d2e347257f55850332e81 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 15 Apr 2026 12:27:59 +0200 Subject: [PATCH] refactor(frontend): drop unused Bulma modal partial import Vikunja's Modal.vue uses a native element with its own locally- scoped classes (modal-dialog, modal-container, modal-content, modal-header). None of Bulma's modal classes (.modal, .modal-background, .modal-card*) are used anywhere in the app. The two CSS variables this partial provided (--modal-card-head-padding, --modal-content-spacing-tablet) were inlined in the two callers in the previous commits, so the whole partial is now dead code. Modal.vue already had several 'reset bulma' overrides fighting the default rules Bulma applied to .modal-content; those can be cleaned up in a follow-up. --- frontend/src/styles/global.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/styles/global.scss b/frontend/src/styles/global.scss index c38433e38..90ab3fc65 100644 --- a/frontend/src/styles/global.scss +++ b/frontend/src/styles/global.scss @@ -49,7 +49,7 @@ @import "bulma-css-variables/sass/components/media"; @import "bulma-css-variables/sass/components/menu"; //@import "bulma-css-variables/sass/components/message"; // not used -@import "bulma-css-variables/sass/components/modal"; +// @import "bulma-css-variables/sass/components/modal"; // not used; Modal.vue owns its own dialog-based styles @import "bulma-css-variables/sass/components/navbar"; @import "bulma-css-variables/sass/components/pagination"; // @import "bulma-css-variables/sass/components/panel"; // not used