Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
Further adjustments to emoji display
Browse files Browse the repository at this point in the history
- was noticing problems in firefox with vertical-alignment, deciding to switch to middle over baseline.
- Adjusted emoji image to be slightly smaller, was noticing the edges were being cut off at certain text sizes
  • Loading branch information
emitxyz committed Sep 5, 2014
1 parent 41eeefb commit 9c852b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/css/emojione.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
display: inline-block;
width: 1.3em;
height: 1.3em;
background-size: 1.25em;
top: -.15em; /* Oversize offset, (1.3em - 1em) / 2 */

/* Inline Text Alignment */
position: relative;
margin: 0 .15em;
line-height: normal;
vertical-align: baseline;
vertical-align: middle;

/* Background Image settings */
background-repeat: no-repeat;
background-color: transparent;
background-position: center;
background-size: contain;
text-indent: -999em;
}
2 changes: 1 addition & 1 deletion assets/css/emojione.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9c852b9

Please sign in to comment.