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:
Lauryn Menard
2023-03-03 17:20:21 +01:00
committed by Tim Abbott
parent 1b7f3eeb76
commit 69e224cd87

View File

@@ -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>