From 5783f63bb808b973f55d0a2960ec7636797fd269 Mon Sep 17 00:00:00 2001 From: vipulg Date: Mon, 18 May 2026 16:54:43 +0530 Subject: [PATCH 1/4] fix the css of prompt-with-style widget --- .../core/widgets/prompt-bar-style/prompt-bar-style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css b/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css index b7dd5bcb..34173a1e 100644 --- a/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css +++ b/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css @@ -840,7 +840,7 @@ .unity-prompt-bar-style .unity-slf-preview { width: 508px; max-width: 100%; - height: 368px; + height: 370px; box-sizing: border-box; } @@ -871,14 +871,13 @@ .unity-prompt-bar-style .unity-slf-controls { display: flex; flex-direction: column; - gap: 20px; min-width: 0; } .unity-prompt-bar-style .unity-slf-style-container { display: flex; flex-direction: column; - gap: 12px; + gap: 8px; min-width: 0; } @@ -1333,4 +1332,4 @@ font-size: 64px; letter-spacing: -1.92px; } -} \ No newline at end of file +} From fe38ee1a2f31182fe3e26c2d8a5185c89bfe9935 Mon Sep 17 00:00:00 2001 From: vipulg Date: Mon, 18 May 2026 21:49:52 +0530 Subject: [PATCH 2/4] [MWPW-193486] truncate label of style variant if it is large --- .../core/widgets/prompt-bar-style/prompt-bar-style.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css b/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css index 34173a1e..f2e290ce 100644 --- a/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css +++ b/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css @@ -1154,7 +1154,10 @@ } .unity-prompt-bar-style .unity-slf-style-label { - flex-shrink: 0; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 1; + box-sizing: border-box; overflow: hidden; color: #d1d1d1; text-overflow: ellipsis; @@ -1162,8 +1165,6 @@ font-size: 12px; font-style: normal; font-weight: 400; - line-height: 14px; - white-space: nowrap; } .unity-prompt-bar-style .unity-slf-gen-btn { From 8cd08a4766e5e3d95c368918880af35d09fec9ca Mon Sep 17 00:00:00 2001 From: vipulg Date: Tue, 19 May 2026 22:10:51 +0530 Subject: [PATCH 3/4] minor update --- unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css b/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css index f2e290ce..e3c7105a 100644 --- a/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css +++ b/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css @@ -877,7 +877,7 @@ .unity-prompt-bar-style .unity-slf-style-container { display: flex; flex-direction: column; - gap: 8px; + gap: 4px; min-width: 0; } From 3d0cdce6268c51c805352d1c1491dd8d6adc2763 Mon Sep 17 00:00:00 2001 From: vipulg Date: Tue, 19 May 2026 22:14:57 +0530 Subject: [PATCH 4/4] minor update --- unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css b/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css index e3c7105a..5e74d84e 100644 --- a/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css +++ b/unitylibs/core/widgets/prompt-bar-style/prompt-bar-style.css @@ -865,7 +865,7 @@ flex: 1; background: #1b1b1b; border-radius: 10px; - padding: 17px 16px 17px 16px; + padding: 16px; } .unity-prompt-bar-style .unity-slf-controls { @@ -877,7 +877,7 @@ .unity-prompt-bar-style .unity-slf-style-container { display: flex; flex-direction: column; - gap: 4px; + gap: 6px; min-width: 0; }