Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

inbox: Fix search box overflow on screens under 450px.

Akash Vishwakarmabd5c096297fc
diff --git a/web/styles/inbox.css b/web/styles/inbox.css
index 43904a64613..cf1dc653465 100644
--- a/web/styles/inbox.css
+++ b/web/styles/inbox.css
@@ -101,6 +101,9 @@
text-overflow: ellipsis;
overflow: hidden;
max-width: var(--width-inbox-search);
+ /* Setting width to 100% ensures the search box takes the full width of its container,
+ preventing overflow issues by making sure it doesn't exceed the available space. */
+ width: 100%;
height: var(--height-inbox-search);
/* top/bottom default 1px padding / 14px em */
/* left padding 30px / 14px em */