mirror of https://github.com/zulip/zulip.git
iframe-bot: Properly style emoji (but you need to copy in the images).
(imported from commit 3fbf54a46d4f20e9da21c73cfe9f6a0064749f1c)
This commit is contained in:
parent
62f607fd5e
commit
7329cedd84
|
@ -3,6 +3,11 @@
|
||||||
|
|
||||||
# Copyright © 2013 Zulip, Inc.
|
# Copyright © 2013 Zulip, Inc.
|
||||||
|
|
||||||
|
### NOTE: You must copy the emoji along with this script if you want
|
||||||
|
### them to work properly
|
||||||
|
### (to static/third/gemoji/images/)
|
||||||
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append('zulip')
|
sys.path.append('zulip')
|
||||||
from os import path
|
from os import path
|
||||||
|
@ -122,6 +127,11 @@ p,ul,code,pre {
|
||||||
height: 48px;
|
height: 48px;
|
||||||
margin-right: .75em;
|
margin-right: .75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.emoji {
|
||||||
|
width: 1.4em;
|
||||||
|
vertical-align: text-bottom;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in New Issue