* 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
29 lines
584 B
SCSS
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;
|
|
}
|