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.

info-overlay: Adjust width of overlay and columns.

Aman Agrawal41b431de70e9
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index ea93846a78b..bfb88a31bcb 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -267,9 +267,7 @@
/* .settings-sticky-footer */
--subscriptions-overlay-sticky-footer-height: 60px;
/* Informational overlay */
- /* Because zoom breaks at 525px perhaps due to rounding errors, we add a
- trivial amount of width so the overlay doesn't break. */
- --informational-overlay-max-width: 550px;
+ --informational-overlay-max-width: 43.75em;
/*
Maximum height of the compose box when it is not in maximised state. This
diff --git a/web/styles/informational_overlays.css b/web/styles/informational_overlays.css
index 35fb1d3d0f8..5cb517bc9a7 100644
--- a/web/styles/informational_overlays.css
+++ b/web/styles/informational_overlays.css
@@ -125,3 +125,8 @@
}
}
}
+
+#message-formatting-first-header,
+#search-operators-first-header {
+ width: 40%;
+}
diff --git a/web/templates/markdown_help.hbs b/web/templates/markdown_help.hbs
index 93a41e6977f..595d6db2c5d 100644
--- a/web/templates/markdown_help.hbs
+++ b/web/templates/markdown_help.hbs
@@ -5,7 +5,7 @@
<table class="table table-striped table-rounded table-bordered help-table">
<thead>
<tr>
- <th>{{t "You type" }}</th>
+ <th id="message-formatting-first-header">{{t "You type" }}</th>
<th>{{t "You get" }}</th>
</tr>
</thead>
diff --git a/web/templates/search_operators.hbs b/web/templates/search_operators.hbs
index 14ea8b2e25b..26be8bbded3 100644
--- a/web/templates/search_operators.hbs
+++ b/web/templates/search_operators.hbs
@@ -4,7 +4,7 @@
<table class="table table-striped table-rounded table-bordered help-table">
<thead>
<tr>
- <th>{{t "Filter" }}</th>
+ <th id="search-operators-first-header">{{t "Filter" }}</th>
<th>{{t "Effect" }}</th>
</tr>
</thead>