mirror of
https://github.com/matrix-org/matrix.org.git
synced 2026-01-11 20:07:22 +00:00
Add shortcode for [m] custom emoji
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
This commit is contained in:
parent
9d226ad777
commit
445d1bbc84
2 changed files with 10 additions and 0 deletions
|
|
@ -351,3 +351,10 @@ a>code {
|
|||
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.m-icon-emoji {
|
||||
display:inline-block;
|
||||
width:1em;
|
||||
height:1em;
|
||||
vertical-align:-0.15em;
|
||||
}
|
||||
|
|
|
|||
3
templates/shortcodes/matrix_icon.html
Normal file
3
templates/shortcodes/matrix_icon.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<span class="m-icon-emoji">
|
||||
{{ load_data(path="static/images/matrix-favicon.svg") | safe }}
|
||||
</span>
|
||||
Loading…
Add table
Reference in a new issue