From 7329cedd84e6013b0c8c4f88f53fa7a43e14b64f Mon Sep 17 00:00:00 2001 From: Waseem Daher Date: Tue, 13 Aug 2013 10:33:14 -0400 Subject: [PATCH] iframe-bot: Properly style emoji (but you need to copy in the images). (imported from commit 3fbf54a46d4f20e9da21c73cfe9f6a0064749f1c) --- tools/iframe-bot/show-last-messages | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/iframe-bot/show-last-messages b/tools/iframe-bot/show-last-messages index 7545eb2d16..ca034e6cf3 100755 --- a/tools/iframe-bot/show-last-messages +++ b/tools/iframe-bot/show-last-messages @@ -3,6 +3,11 @@ # 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 sys.path.append('zulip') from os import path @@ -122,6 +127,11 @@ p,ul,code,pre { height: 48px; margin-right: .75em; } + +.emoji { + width: 1.4em; + vertical-align: text-bottom; +}