From 38315f87e8d628b9077748d42ad556544d67abe3 Mon Sep 17 00:00:00 2001 From: shinshin86 Date: Sun, 31 Dec 2023 11:09:45 +0900 Subject: [PATCH] fix style of EXPERIMENTAL text --- js/comfyui-manager.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index a0e827c8..6abd4b8f 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -165,14 +165,16 @@ const style = ` .cm-experimental-legend { margin-top: -20px; - margin-left: 95px; - width:100px; + margin-left: 50%; + width:auto; height:20px; font-size: 13px; font-weight: bold; background-color: #990000; color: #CCFFFF; border-radius: 5px; + text-align: center; + transform: translateX(-50%); } .cm-menu-combo {