Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit 7955c52

Browse files
authored
Scope image.scss styles to markdown-body, fix emoji rendering (github#20805)
1 parent 1a8d32d commit 7955c52

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

stylesheets/images.scss

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
.procedural-image-wrapper {
1+
.markdown-body .procedural-image-wrapper {
22
display: block;
33
padding: 10px 0;
44
margin: 20px auto 0 auto;
55
border: none;
66
max-width: calc(100% - 32px);
77
}
88

9-
.procedural-image-wrapper img {
9+
.markdown-body .procedural-image-wrapper img {
1010
border-radius: 5px;
1111
border: 2px solid var(--color-auto-gray-2);
1212
width: auto;
@@ -16,11 +16,10 @@
1616
}
1717

1818
// make sure images that contain emoji render at the expected size
19-
img[src*="https://github.githubassets.com/images/icons/emoji"]
19+
.markdown-body img[src*="https://github.githubassets.com/images/icons/emoji"]
2020
{
21-
height: 20;
22-
width: 20;
23-
align: absmiddle;
21+
height: 20px;
22+
width: 20px;
2423
}
2524

2625
.markdown-body img {

0 commit comments

Comments
 (0)