Skip to content

Commit

Permalink
Try to display wide custom emojis
Browse files Browse the repository at this point in the history
This commit only affects the text within the status-content.
  • Loading branch information
kedamaDQ committed Oct 19, 2024
1 parent 709bfe0 commit eee35bd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,8 @@ body > [data-popper-placement] {
vertical-align: middle;
object-fit: contain;
margin: -0.2ex 0.15em 0.2ex;
width: 16px;
min-width: 16px;
max-width: 100%;
height: 16px;

img {
Expand Down Expand Up @@ -1044,7 +1045,8 @@ body > [data-popper-placement] {
}

.emojione {
width: 20px;
min-width: 20px;
max-width: 100%;
height: 20px;
margin: -3px 0 0;
}
Expand Down Expand Up @@ -1737,7 +1739,8 @@ body > [data-popper-placement] {
line-height: 24px;

.emojione {
width: 24px;
min-width: 24px;
max-width: 100%;
height: 24px;
margin: -1px 0 0;
}
Expand Down

0 comments on commit eee35bd

Please sign in to comment.