From b6dbbcc1fb1126d9642dc489c9b6492b56475361 Mon Sep 17 00:00:00 2001 From: Imad Saddik Date: Sat, 20 Dec 2025 09:04:13 +0100 Subject: [PATCH] Moved and renamed the width-classes.ts file --- .../src/lib/{constants/width-classes.ts => utils/chat-width.ts} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename tools/server/webui/src/lib/{constants/width-classes.ts => utils/chat-width.ts} (97%) diff --git a/tools/server/webui/src/lib/constants/width-classes.ts b/tools/server/webui/src/lib/utils/chat-width.ts similarity index 97% rename from tools/server/webui/src/lib/constants/width-classes.ts rename to tools/server/webui/src/lib/utils/chat-width.ts index 76da8857f7..54a7bd86ce 100644 --- a/tools/server/webui/src/lib/constants/width-classes.ts +++ b/tools/server/webui/src/lib/utils/chat-width.ts @@ -31,7 +31,7 @@ export type CustomWidthPreset = keyof typeof CUSTOM_WIDTH_PRESETS; * @param autoChatWidth - Whether automatic responsive width is enabled * @param customChatWidth - Custom width setting (preset key or pixel value) */ -export function getChatWidthClass( +export function getChatWidth( autoChatWidth: boolean, customChatWidth: string ): { class: string; style?: string } {