[PR #5296] [CLOSED] fix: ensure text wraps properly in narrow windows #5397

Closed
opened 2026-06-05 15:21:13 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5296
Author: @cyphercodes
Created: 3/28/2026
Status: Closed

Base: masterHead: fix/text-wrap-narrow-window


📝 Commits (1)

  • f7defd7 fix: ensure text wraps properly in narrow windows

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 frontend/src/index.css (+2 -0)

📄 Description

Problem

When the ALLM desktop window is made narrow, chat message text gets cut off instead of wrapping properly (Issue #5291).

Solution

Added overflow-wrap: break-word and word-break: break-word CSS properties to the .markdown class to ensure text wraps correctly at any window width.

Changes

  • Updated frontend/src/index.css to add text wrapping properties

Testing

  • Text now wraps properly when window is resized to narrow widths
  • Both user messages and AI responses display correctly without being cut off

Fixes #5291


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/5296 **Author:** [@cyphercodes](https://github.com/cyphercodes) **Created:** 3/28/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/text-wrap-narrow-window` --- ### 📝 Commits (1) - [`f7defd7`](https://github.com/Mintplex-Labs/anything-llm/commit/f7defd7dc9a5ded5f47a2395af2ef760d63a07b7) fix: ensure text wraps properly in narrow windows ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/index.css` (+2 -0) </details> ### 📄 Description ## Problem When the ALLM desktop window is made narrow, chat message text gets cut off instead of wrapping properly (Issue #5291). ## Solution Added `overflow-wrap: break-word` and `word-break: break-word` CSS properties to the `.markdown` class to ensure text wraps correctly at any window width. ## Changes - Updated `frontend/src/index.css` to add text wrapping properties ## Testing - Text now wraps properly when window is resized to narrow widths - Both user messages and AI responses display correctly without being cut off Fixes #5291 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 15:21:13 -04:00
yindo closed this issue 2026-06-05 15:21:14 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5397