[PR #2089] [MERGED] Update the display to show 95% of the width on small screens, else 635px #3884

Closed
opened 2026-02-22 18:34:41 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2089
Author: @MrSimonC
Created: 8/11/2024
Status: Merged
Merged: 8/12/2024
Merged by: @timothycarambat

Base: masterHead: bug/fix-text-width-on-small-screens


📝 Commits (1)

  • 5058461 update the display to show 95% of the width on small screens, else 635px

📊 Changes

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

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx (+1 -1)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #2088

Here's a draft to help you fill out the sections:

What is in this change?

This pull request introduces a minor CSS change to dynamically adjust the width of the interface based on the viewport size. Specifically, when the viewport width falls below 635 pixels, the interface will now take up 95% of the viewing window, ensuring that the full interface is visible and usable on smaller screens, such as mobile phones.

Additional Information

This change is a temporary fix to address the immediate issue of the cutoff interface on mobile devices. While it does not provide a comprehensive mobile optimization solution, it improves the usability of the application on smaller screens. The fix is backwards compatible and does not introduce any breaking changes.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes n/a
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally (not built, developed in GitHub codespaces)

🔄 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/2089 **Author:** [@MrSimonC](https://github.com/MrSimonC) **Created:** 8/11/2024 **Status:** ✅ Merged **Merged:** 8/12/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `bug/fix-text-width-on-small-screens` --- ### 📝 Commits (1) - [`5058461`](https://github.com/Mintplex-Labs/anything-llm/commit/5058461a6338edde5aa7799e39f0548e760b1820) update the display to show 95% of the width on small screens, else 635px ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx` (+1 -1) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [x] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #2088 Here's a draft to help you fill out the sections: ### What is in this change? This pull request introduces a minor CSS change to dynamically adjust the width of the interface based on the viewport size. Specifically, when the viewport width falls below 635 pixels, the interface will now take up 95% of the viewing window, ensuring that the full interface is visible and usable on smaller screens, such as mobile phones. ### Additional Information This change is a temporary fix to address the immediate issue of the cutoff interface on mobile devices. While it does not provide a comprehensive mobile optimization solution, it improves the usability of the application on smaller screens. The fix is backwards compatible and does not introduce any breaking changes. ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes _n/a_ - [ ] Relevant documentation has been updated - [x] I have tested my code functionality - [ ] Docker build succeeds locally _(not built, developed in GitHub codespaces)_ --- <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-02-22 18:34:41 -05:00
yindo closed this issue 2026-02-22 18:34:41 -05:00
yindo changed title from [PR #2089] Update the display to show 95% of the width on small screens, else 635px to [PR #2089] [MERGED] Update the display to show 95% of the width on small screens, else 635px 2026-06-05 15:15:43 -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#3884