Skip to content

Commit

Permalink
Size emoji images outside procedurals (github#23273)
Browse files Browse the repository at this point in the history
* Size emoji images outside procedurals

* Update images.scss
  • Loading branch information
heiskr authored Dec 1, 2021
1 parent b67bd85 commit 0f9cc3a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions stylesheets/images.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@
padding: 0;
box-shadow: var(--color-shadow-medium);
}

// make sure images that contain emoji render at the expected size
img[src*="https://github.githubassets.com/images/icons/emoji"]
{
height: 20px;
width: 20px;

img[src*="https://github.githubassets.com/images/icons/emoji"] {
box-shadow: none;
}
}
Expand All @@ -26,3 +22,10 @@
max-height: 32rem;
padding: 0;
}

// make sure images that contain emoji render at the expected size
.markdown-body img[src*="https://github.githubassets.com/images/icons/emoji"]
{
height: 20px;
width: 20px;
}

0 comments on commit 0f9cc3a

Please sign in to comment.