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.

read_receipts: Fix off-centered loading indicator positioning.

Sayam Samal9a5a896bddd3
diff --git a/web/src/read_receipts.ts b/web/src/read_receipts.ts
index 19dbe713b4e..b47a6d00df1 100644
--- a/web/src/read_receipts.ts
+++ b/web/src/read_receipts.ts
@@ -49,7 +49,9 @@ export function fetch_read_receipts(message_id: number): void {
}
if (!has_initial_data) {
- loading.make_indicator($("#read_receipts_modal .loading_indicator"));
+ loading.make_indicator($("#read_receipts_modal .loading_indicator"), {
+ abs_positioned: true,
+ });
}
void channel.get({
diff --git a/web/styles/modal.css b/web/styles/modal.css
index a7335b3a3d4..1cd9115608a 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -633,7 +633,8 @@
}
.read_receipts_list {
- margin-left: 0;
+ /* Override legacy bootstrap ul margins. */
+ margin: 0;
& li {
.read_receipts_user_avatar {