diff --git a/css/main.css b/css/main.css index 5d305550..8982b464 100644 --- a/css/main.css +++ b/css/main.css @@ -1103,6 +1103,7 @@ audio { padding: 0.75rem; font-size: 12.5px; font-weight: 400; + margin-right: 8px; } #past-chats .selected, diff --git a/modules/chat.py b/modules/chat.py index bbc0d7de..7ebffef4 100644 --- a/modules/chat.py +++ b/modules/chat.py @@ -1736,9 +1736,9 @@ def find_all_histories_with_first_prompts(state): first_prompt = first_prompt.strip() - # Truncate the first prompt if it's longer than 30 characters - if len(first_prompt) > 30: - first_prompt = first_prompt[:30 - 3] + '...' + # Truncate the first prompt if it's longer than 28 characters + if len(first_prompt) > 28: + first_prompt = first_prompt[:28 - 3] + '...' result.append((first_prompt, filename))