provide a hover class for smiley emojis which renders them slightly larger on compatible devices when you single them out for inspection
This commit is contained in:
parent
c1a24d44a3
commit
dd6718c2cd
@ -1166,7 +1166,7 @@ function list_smilies() {
|
|||||||
if(strpos($e['shortname'],':tone') === 0)
|
if(strpos($e['shortname'],':tone') === 0)
|
||||||
continue;
|
continue;
|
||||||
$texts[] = $e['shortname'];
|
$texts[] = $e['shortname'];
|
||||||
$icons[] = '<img height="16" width="16" src="images/emoji/' . $e['unicode'] . '.png' . '" alt="' . $e['name'] . '" />';
|
$icons[] = '<img class="smiley emoji" height="16" width="16" src="images/emoji/' . $e['unicode'] . '.png' . '" alt="' . $e['name'] . '" />';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -312,3 +312,8 @@ code.inline-code {
|
|||||||
.overline {
|
.overline {
|
||||||
text-decoration: overline;
|
text-decoration: overline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img.smiley.emoji:hover {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
}
|
Reference in New Issue
Block a user