mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
By replacing `<span>` tags with `<div>` tags inside the tooltip's inner content we remove the redundancy of having to use break tags to separate the tooltip's title and it's content. We also replace any `<p>` tags with `<div>` tags for the following reasons: - Since what we want to achieve are just block elements in order to avoid the break tags, using `<div>` tags provide use with a wider scope of use cases. - We don't want the pause, screen readers often introduce after reading the contents of a paragraph. - The `<p>` tag cannot contain tables and other block-level elements. - The semantic meaning of the <p> tag doesn't apply to the commonly used tooltip content.
5 lines
220 B
Handlebars
5 lines
220 B
Handlebars
<div id="change_visibility_policy_button_tooltip">
|
|
<strong>{{current_visibility_policy_str}}</strong>
|
|
<div class="tooltip-inner-content italic">{{t 'Click to change notifications for this topic.' }}</div>
|
|
</div>
|