mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
templates: Add rendered_markdown class to confirm emoji warning.
Adds a `div` wrapper with the `rendered_markdown` class to the content in `confirm_emoji_settings_warning.hbs`, so that the inline code element has the intended CSS rules applied. Because the `p` element also has the `rendered_markdown` class, the margins for this element in the modal are slightly changed (3px on top/bottom). Previously, the margins for this element were being set from a bootstrap rule (10px on bottom).
This commit is contained in:
committed by
Tim Abbott
parent
1b7f3eeb76
commit
69e224cd87
@@ -1,5 +1,8 @@
|
||||
<p>
|
||||
{{#tr}}
|
||||
There is a default emoji with this name. Do you want to override it with a custom emoji? The name <code>:{emoji_name}:</code> will no longer work to access the default emoji.
|
||||
{{/tr}}
|
||||
</p>
|
||||
<div class="rendered_markdown">
|
||||
<p>
|
||||
{{#tr}}
|
||||
There is a default emoji with this name. Do you want to override it with a custom emoji?
|
||||
The name <code>:{emoji_name}:</code> will no longer work to access the default emoji.
|
||||
{{/tr}}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user