From e033dcce8e57ed6b6684227adf9b29347e4718b3 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 22 Nov 2016 12:31:37 -0500 Subject: PLT-4300 Switched emoji to use a background-image (#4631) --- webapp/sass/components/_emoticons.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'webapp/sass') diff --git a/webapp/sass/components/_emoticons.scss b/webapp/sass/components/_emoticons.scss index 80a800863..0e6ce6041 100644 --- a/webapp/sass/components/_emoticons.scss +++ b/webapp/sass/components/_emoticons.scss @@ -1,11 +1,14 @@ @charset 'UTF-8'; .emoticon { + background-repeat: no-repeat; + background-position: 50% 50%; background-size: contain; display: inline-block; - height: 1.5em; - margin-bottom: .25em; - width: 1.5em; + font-size: 19px; + height: 1em; + vertical-align: text-top; + width: 1em; } .emoticon-suggestion { -- cgit v1.2.3-1-g7c22