From 8ef51e1b6ff205979fc14092ed90c7ea65cc02e8 Mon Sep 17 00:00:00 2001 From: Maneesh Shukla Date: Thu, 19 Jun 2025 15:08:03 +0530 Subject: [PATCH] tooltips: Fix incorrect tooltip on the spinner. The "sub_unsub_status" spinner was inside the div with the "check" class , causing the tooltip to appear over the spinner, which should only be visible on the check icon. This commit moves the "sub_unsub_status" spinner div outside, ensuring the tooltip is now visible only when hovering over the check icon. --- web/styles/subscriptions.css | 1 - .../browse_streams_list_item.hbs | 69 ++++++------ .../browse_user_groups_list_item.hbs | 104 +++++++++--------- 3 files changed, 90 insertions(+), 84 deletions(-) diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css index ecdcfe8f03..310976cdda 100644 --- a/web/styles/subscriptions.css +++ b/web/styles/subscriptions.css @@ -744,7 +744,6 @@ h4.user_group_setting_subsection_title { .check { width: 25px; height: 25px; - position: relative; margin-right: 12px; margin-top: 9px; background-size: 60% auto; diff --git a/web/templates/stream_settings/browse_streams_list_item.hbs b/web/templates/stream_settings/browse_streams_list_item.hbs index 2bf543bd5e..d7c7d23c6e 100644 --- a/web/templates/stream_settings/browse_streams_list_item.hbs +++ b/web/templates/stream_settings/browse_streams_list_item.hbs @@ -2,47 +2,50 @@
{{#if subscribed}} -
+
- +
+ - - - + + + +
{{else}} -
+
- +
+ - + - - - + + + +
{{/if}} diff --git a/web/templates/user_group_settings/browse_user_groups_list_item.hbs b/web/templates/user_group_settings/browse_user_groups_list_item.hbs index 04e2a013f7..1934cbd56d 100644 --- a/web/templates/user_group_settings/browse_user_groups_list_item.hbs +++ b/web/templates/user_group_settings/browse_user_groups_list_item.hbs @@ -1,72 +1,76 @@
{{#if is_member}} -
- - - - - - - - + + + + + +
{{else}} -
- - - - - - + + + + + +
{{/if}}