1
0
mirror of synced 2026-01-03 15:05:54 -05:00
Files
docs/stylesheets/images.scss
Peter Bengtsson 7f6f20a73f run prettier on all code in CI (#23482)
* run prettier on all code in CI

* rename

* test .tsx too

* ignore more

* prettier the stragglers

* minimal permission
2021-12-08 16:11:52 +00:00

33 lines
625 B
SCSS

.markdown-body .procedural-image-wrapper {
display: block;
padding: 1rem 0;
margin: 1rem auto 0 auto;
border: none;
max-width: calc(100% - 2rem);
img {
width: auto;
height: auto;
max-height: 32rem;
padding: 0;
box-shadow: var(--color-shadow-medium);
}
img[src*="https://github.githubassets.com/images/icons/emoji"]
{
box-shadow: none;
}
}
.markdown-body img {
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;
}