mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-05 07:47:25 +00:00
[GH-ISSUE #2762] Manager buttons unstyled due to PrimeVue 4 lazy CSS injection #1031
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#1031
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LulevMichael on GitHub (Apr 5, 2026).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/2762
Description
Manager buttons (Custom Nodes Manager, Install Missing Custom Nodes, etc.) appear blocky with no border-radius, incorrect padding, and the close (X) button has a visible background instead of being transparent with a translucent hover effect. The dialog header and content area are also missing styling.
Opening the ComfyUI Settings dialog (gear icon, bottom-left) and closing it immediately fixes all styling — confirming the issue is CSS availability, not CSS conflicts.
Root Cause
The Manager creates plain HTML elements with PrimeVue CSS class names (
.p-button,.p-button-text,.p-button-rounded,.p-dialog,.p-dialog-header, etc.) inbuildGuiFrame()(js/comfyui-gui-builder.js), expecting PrimeVue's CSS to style them.PrimeVue 4 lazily injects component CSS — it only adds
.p-button,.p-dialog, etc. styles to the DOM when a real PrimeVue component (Button, Dialog) is first mounted. Since the Manager creates plain DOM elements (not PrimeVue components), the CSS never gets injected. It only appears after the user opens another dialog (like Settings) that uses actual PrimeVue components.This changed in
comfyui-frontend-package1.33.9 — PrimeVue 3 (used in <= 1.33.8) included all component CSS upfront as global stylesheets.Steps to reproduce
--enable-manager --enable-manager-legacy-uiAffected versions
comfyui-frontend-package>= 1.33.9 (works correctly on <= 1.33.8)Suggested fix
Either:
buildGuiFrame()Environment