From dd6718c2cdf2cadaf7478b848eb892dcda1dc7e9 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 4 Jun 2016 18:10:42 -0700 Subject: provide a hover class for smiley emojis which renders them slightly larger on compatible devices when you single them out for inspection --- include/text.php | 2 +- view/css/conversation.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/text.php b/include/text.php index 7d1e22170..1bc19da34 100644 --- a/include/text.php +++ b/include/text.php @@ -1166,7 +1166,7 @@ function list_smilies() { if(strpos($e['shortname'],':tone') === 0) continue; $texts[] = $e['shortname']; - $icons[] = '' . $e['name'] . ''; + $icons[] = '' . $e['name'] . ''; } } diff --git a/view/css/conversation.css b/view/css/conversation.css index 328f9df02..b6e316121 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -312,3 +312,8 @@ code.inline-code { .overline { text-decoration: overline; } + +img.smiley.emoji:hover { + width: 32px; + height: 32px; +} \ No newline at end of file -- cgit v1.2.3