stream settings: Fix hover issue with message retention label.

Another minor issue fixed in this commit is behaviour of cursor
on hovering message retention setting label. We fix it by changing
this element this to be a div instead by label. It could be fixed
by adding a css rule for this instead of changing it to div rather
than label but this looked more stable to future refactors.
This commit is contained in:
m-e-l-u-h-a-n
2021-07-08 20:52:44 +05:30
committed by Tim Abbott
parent 2daa4eb755
commit 8987fed001

View File

@@ -37,9 +37,9 @@
{{> settings/upgrade_tip_widget}}
<div class="input-group inline-block message-retention-setting-group">
<label for="stream_message_retention_setting" class="dropdown-title">{{t "Message retention period" }}
<div class="dropdown-title">{{t "Message retention period" }}
<i class="fa fa-info-circle settings-info-icon stream_message_retention_tooltip tippy-zulip-tooltip" aria-hidden="true" data-tippy-content="{{t 'Only owners can change stream message retention policy.' }}"></i>
</label>
</div>
<select name="stream_message_retention_setting"
class="stream_message_retention_setting" class="prop-element"
{{#if disable_message_retention_setting}}disabled{{/if}}>