We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b179fd0 commit ea6d571Copy full SHA for ea6d571
draft-js-emoji-plugin/src/emojiStyles.css
@@ -1,12 +1,8 @@
1
.emoji {
2
/* Hide the original Emoji icon no matter what system it is. */
3
color: transparent;
4
- /* Make the size depedent on the wrapping text. */
5
- background-size: 1em 1em;
6
- width: 1em;
7
- height: 1em;
8
- display: inline-block;
9
- /* move it a bit further down to align it fine with text */
10
- position: relative;
11
- top: 3px;
+ /* make sure the background the image is only shown once */
+ background-repeat: no-repeat;
+ /* move it a bit further down to align it nicer with the text */
+ vertical-align: middle;
12
}
0 commit comments