29 lines
582 B
SCSS
29 lines
582 B
SCSS
.markdown-body .procedural-image-wrapper {
|
|
display: block;
|
|
padding: 10px 0;
|
|
margin: 20px auto 0 auto;
|
|
border: none;
|
|
max-width: calc(100% - 32px);
|
|
}
|
|
|
|
.markdown-body .procedural-image-wrapper img {
|
|
border-radius: 5px;
|
|
border: 2px solid var(--color-auto-gray-2);
|
|
width: auto;
|
|
height: auto;
|
|
max-height: 500px;
|
|
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;
|
|
}
|
|
|
|
.markdown-body img {
|
|
max-height: 500px;
|
|
padding: 0;
|
|
}
|