#class-viewer {
    display: inherit;
}

#class-viewer>img {
    width: auto;
    max-height: 800px;
    margin: auto;
}