help: Fix styling of emoticons on help pages.

This commit is contained in:
Akash Nimare 2018-08-17 03:08:15 +05:30 committed by Tim Abbott
parent dc1e1dfcf9
commit dab75e4990
3 changed files with 16 additions and 3 deletions

View File

@ -1620,6 +1620,19 @@ input.new-organization-button {
box-shadow: none;
}
.markdown img.emoji-small {
width: 20px;
box-shadow: none;
border: none;
vertical-align: sub;
}
.markdown img.emoji-big {
width: 25px;
box-shadow: none;
border: none;
}
.integration-instructions .tip,
.markdown .warn,
.markdown .tip,

View File

@ -5,13 +5,13 @@ emoji equivalents like
<img
src="/static/generated/emoji/images-google-64/1f642.png"
alt="slight_smile"
style="width: 3%;"
class="emoji-small"
/>
or
<img
src="/static/generated/emoji/images-google-64/1f641.png"
alt="slight_frown"
style="width: 3%;"
class="emoji-small"
/>
automatically by Zulip.

View File

@ -29,7 +29,7 @@ ROW_HTML = """
<img
src="/static/generated/emoji/images-google-64/{codepoint}.png"
alt="{name}"
style="width: 30%;">
class="emoji-big">
</td>
</tr>
"""