1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Files
docs/stylesheets/images.scss
Kevin Heis 567652b0e3 Primer 18 b (#22462)
* Create migrate-colors-primer-18.js

* Update colors round 1

* upgrade primer packages

* Update index.scss

* Replace auto colors

* remove btn-primary-matte

* Turns out the class names and variables names DONT LINE UP... ugh....

* Check for allowed var colors
2021-10-28 19:17:23 +00:00

29 lines
584 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-border-subtle);
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;
}