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.

drafts: Fix SimpleBar container not resizing on window resize.

Aman Agrawalebec7a9ad7af
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index e0c2ff672dd..d46ae0ca0a2 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -878,6 +878,10 @@ input.settings_text_input {
so that the scrollbar appears to reach all the way
to the bottom of the content. */
padding-bottom: 0;
+ /* Override the `min-width: auto` default for grid
+ items so the SimpleBar container can shrink on
+ window resize. */
+ min-width: 0;
}
}