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 } {