From 239a2dcf73db31e4fd2a1d1704d204afbd843e7b Mon Sep 17 00:00:00 2001 From: shinshin86 Date: Sat, 20 Jan 2024 15:21:10 +0900 Subject: [PATCH] fix a problem with broken styles when comfyui-workspace-manager is enabled --- js/comfyui-manager.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index 84472eb..30bc770 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -71,6 +71,17 @@ docStyle.innerHTML = ` border: 1px solid var(--descrip-text); padding: 5px 10px; overflow-x: hidden; + box-sizing: content-box; +} + +.cm-notice-board > ul { + display: block; + list-style-type: disc; + margin-block-start: 1em; + margin-block-end: 1em; + margin-inline-start: 0px; + margin-inline-end: 0px; + padding-inline-start: 40px; } .cm-conflicted-nodes-text { @@ -174,6 +185,7 @@ const style = ` border-radius: 5px; text-align: center; transform: translateX(-50%); + display: block; } .cm-menu-combo {